1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-12 09:29:47 +01:00
PHP-Parser/test/code/parser/stmt/loop
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
..
do.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
for.test Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
foreach.test PHP 7.1: list() with keys 2016-07-09 21:55:55 +02:00
while.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00