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/expr/shortArraySyntax.test')
-rw-r--r--vendor/nikic/php-parser/test/code/prettyPrinter/expr/shortArraySyntax.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/expr/shortArraySyntax.test b/vendor/nikic/php-parser/test/code/prettyPrinter/expr/shortArraySyntax.test
new file mode 100644
index 0000000..082c2e0
--- /dev/null
+++ b/vendor/nikic/php-parser/test/code/prettyPrinter/expr/shortArraySyntax.test
@@ -0,0 +1,11 @@
+Short array syntax
+-----
+<?php
+
+[];
+array(1, 2, 3);
+['a' => 'b', 'c' => 'd'];
+-----
+[];
+array(1, 2, 3);
+['a' => 'b', 'c' => 'd']; \ No newline at end of file