projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
test
/
code
/
prettyPrinter
/
stmt
/
global_static_variables.test
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/global_static_variables.test
b/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/global_static_variables.test
new file mode 100644
(file)
index 0000000..
eea776a
--- /dev/null
+++ b/
vendor/nikic/php-parser/test/code/prettyPrinter/stmt/global_static_variables.test
@@ -0,0
+1,11
@@
+Global and static variables
+-----
+<?php
+
+global $a, $$a, ${$a[$a]};
+static $a, $b;
+static $a = 'foo', $b = 'bar';
+-----
+global $a, ${$a}, ${$a[$a]};
+static $a, $b;
+static $a = 'foo', $b = 'bar';
\ No newline at end of file