1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-03 09:47:59 +01:00
PHP-Parser/lib/PhpParser/Parser
Nikita Popov 719ca71d4a Distinguish declare(); and declare(){}
It makes semantic difference and the latter form is actually
forbidden for strict_types.

This sets Declare->stmts to null for the body-less case.
2015-12-07 12:12:00 +01:00
..
Multiple.php Add some tests for Multiple parser 2015-07-12 22:00:02 +02:00
Php5.php Distinguish declare(); and declare(){} 2015-12-07 12:12:00 +01:00
Php7.php Distinguish declare(); and declare(){} 2015-12-07 12:12:00 +01:00
Tokens.php Move token constants into separate class 2015-06-13 18:39:55 +02:00