encoding = ini_get("default_charset"); } public function parse(\Picea\Compiler\Context &$context, string &$sourceCode) { $sourceCode = preg_replace_callback("#({$this->tokenOpen})(.*?)({$this->tokenClose})#s", function ($matches) { $line = trim($matches[2], " \t\n\r\0\x0B;"); return "flag}, '{$this->encoding}', " . ($this->doubleEncode ? "true" : "false") . ") ?>"; }, $sourceCode); } }