diff options
Diffstat (limited to 'vendor/nikic/php-parser/test/code/prettyPrinter/stmt/foreach.test')
-rw-r--r-- | vendor/nikic/php-parser/test/code/prettyPrinter/stmt/foreach.test | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/foreach.test b/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/foreach.test new file mode 100644 index 0000000..44c3a1a --- /dev/null +++ b/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/foreach.test @@ -0,0 +1,28 @@ +foreach +----- +<?php + +foreach ($arr as $val) { + +} + +foreach ($arr as &$val) { + +} + +foreach ($arr as $key => $val) { + +} + +foreach ($arr as $key => &$val) { + +} +----- +foreach ($arr as $val) { +} +foreach ($arr as &$val) { +} +foreach ($arr as $key => $val) { +} +foreach ($arr as $key => &$val) { +}
\ No newline at end of file |