Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/php-static-scanner-instrumentalization.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.test28
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