1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-03 01:38:03 +01:00
PHP-Parser/test/code/parser/stmt
Nikita Popov 574665b45b PHP 7.1: list() with keys
Expr\List will now contain ArrayItems instead of plain variables.
I'm reusing ArrayItem, because code handling list() must also handle
arrays, and this allows both to go through the same code path.

This also renames Expr\List->vars to ->items.

TODO: Should Expr\List be dropped in favor of Expr\Array with an
extra flag?
2016-07-09 21:55:55 +02:00
..
class PHP 7.1: Class constant visibility support 2016-07-05 23:01:06 +02:00
function PHP 7: Support nullable types 2016-07-06 18:36:18 +02:00
generator Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
loop PHP 7.1: list() with keys 2016-07-09 21:55:55 +02:00
namespace Improve error recovery quality 2016-04-20 16:47:50 +02: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 Introduce Nop statement to collect dangling comments 2016-03-09 19:48:36 +01:00
inlineHTML.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
switch.test Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
tryCatch.test Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01: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