Lines Matching refs:code
86 $codeExtractor = function($file, $code) { argument
87 return $code;
94 $codeExtractor = function($file, $code) { argument
128 if (!preg_match('~--FILE--\s*(.*?)\n--[A-Z]+--~s', $code, $matches)) {
131 if (preg_match('~--EXPECT(?:F|REGEX)?--\s*(?:Parse|Fatal) error~', $code)) {
191 $code = $prettyPrinter->printFormatPreserving($stmts, $origStmts, $origTokens); variable
194 if ($code !== $origCode) {
197 echo "FPPP output:\n=====\n$code\n=====\n\n";
204 $code = "<?php\n" . $prettyPrinter->prettyPrint($stmts); variable
209 $ppStmts = $parser->parse($code);
219 echo "Pretty printer output:\n=====\n$code\n=====\n\n";
227 echo "Pretty printer output:\n=====\n$code\n=====\n\n";