mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-12 00:59:49 +01:00
f8f1e17e41
Example: foreach ($coords as list($x, $y)) { ... } This change slightly breaks backwards compatability, as it changes the node structure for the previously existing `list(...) = $foo` assignments. Those no longer have a dedicated `AssignList` node; instead they are parsed as a normal `Assign` node with a `List` as `var`. Similarly the use in `foreach` will generate a `List` for `valueVar`. |
||
---|---|---|
.. | ||
fetchAndCall | ||
arrayDef.test | ||
assign.test | ||
cast.test | ||
clone.test | ||
closure.test | ||
comparison.test | ||
errorSuppress.test | ||
exit.test | ||
includeAndEval.test | ||
issetAndEmpty.test | ||
logic.test | ||
math.test | ||
new.test | ||
print.test | ||
shellExec.test | ||
ternary.test | ||
variable.test |