encoding = ini_get("default_charset"); } public function parse(\Picea\Compiler\Context &$context, ?string $arguments, string $token, array $options = []) : string { switch($token) { case 'echo': case 'print': if (in_array('raw', $options)) { return ""; } return "flag}, '{$this->encoding}', " . ($this->doubleEncode ? "true" : "false") . ") ?>"; case 'printf': if (in_array('raw', $options)) { return ""; } return "flag}, '{$this->encoding}', " . ($this->doubleEncode ? "true" : "false") . ") ?>"; } } }