1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-02 17:28:27 +01:00
PHP-Parser/test/code/parser/stmt
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
..
class Don't distinguish test-fail / test 2015-04-30 17:45:36 +02:00
function Support scalar type declarations 2015-06-13 20:16:09 +02:00
generator Implement generalized yield operator 2015-06-13 18:11:40 +02:00
loop Split up pretty printer test in stmt/expr 2015-10-02 11:16:12 +02:00
namespace Distinguish declare(); and declare(){} 2015-12-07 12:12:00 +01:00
blocklessStatement.test Guarantee that subnodes are always in the right order 2014-03-22 14:49:56 +01:00
const.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
controlFlow.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
declare.test Distinguish declare(); and declare(){} 2015-12-07 12:12:00 +01:00
echo.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
haltCompiler.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
haltCompilerInvalidSyntax.test Don't distinguish test-fail / test 2015-04-30 17:45:36 +02:00
haltCompilerOffset.test Fix __HALT_COMPILER_OFFSET__ support on HHVM 2015-07-04 13:15:48 +02:00
haltCompilerOutermostScope.test Don't distinguish test-fail / test 2015-04-30 17:45:36 +02:00
hashbang.test Add support for T_HASHBANG (HHVM) 2015-03-14 19:53:08 +01:00
if.test Guarantee that subnodes are always in the right order 2014-03-22 14:49:56 +01:00
inlineHTML.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
switch.test Fix Switch subnode order 2012-10-19 14:54:56 +02:00
tryCatch.test Add support for finally clauses (PHP 5.5) 2012-09-07 23:41:56 +02:00
tryWithoutCatch.test Don't distinguish test-fail / test 2015-04-30 17:45:36 +02:00
unset.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00