Searched refs:parse (Results 26 – 35 of 35) sorted by relevance
12
72 * Don't parse unicode escape sequences when targeting PHP < 7.0.92 * The minimum host PHP version is now PHP 7.4. It is still possible to parse code from older881 * Fixed notice in `bin/php-parse` script.904 * Added `php-parse --with-positions` option, which dumps nodes with position information.946 * Added support for recovering from "special" errors (i.e. non-syntax parse errors).950 * Added optional `ErrorHandler` argument to `Parser::parse()`, `Lexer::startLexing()` and996 * The PHP 7 parser will now generate a parse error for `$var =& new Obj` assignments.1062 * The PHP 7 parser will now generate a parse error for `$var =& new Obj` assignments.1089 * Added `-h` and `--help` options to `php-parse` script.1093 * Invalid octal literals now throw a parse error in PHP 7 mode.[all …]
6 PHP-Parser now requires PHP 7.4 or newer to run. It is however still possible to *parse* code for o…23 …* Declarations of the form `global $$var[0]` are not supported in PHP 7 and will cause a parse err…38 * `createForVersion()`: Use this if you know the PHP version of the code you want to parse.44 …class declaration, while using `public readonly int $prop` will lead to a parse error. However, `f…511 $oldStmts = $parser->parse($code);521 $oldStmts = $parser->parse($code);
6 PHP-Parser now requires PHP 5.3 or newer to run. It is however still possible to *parse* PHP 5.2 so…
6 PHP-Parser now requires PHP 7.0 or newer to run. It is however still possible to *parse* PHP 5.2-5.6
56 $ast = $parser->parse($code);
15 $stmts = $parser->parse($code);82 $oldStmts = $parser->parse($code);
39 parse multiple files.
61 The lexer is normally invoked implicitly by the parser. In that case, the tokens for the last parse…120 $stmts = $parser->parse($code);
551 $stmts = $parser->parse(canonicalize($code));
178 public function parse(string $code, ?ErrorHandler $errorHandler = null): ?array { function in PhpParser\\ParserAbstract
Completed in 39 milliseconds