Security update for Core, with self-updated composer
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / scalar / invalidOctal.test
diff --git a/vendor/nikic/php-parser/test/code/parser/scalar/invalidOctal.test b/vendor/nikic/php-parser/test/code/parser/scalar/invalidOctal.test
new file mode 100644 (file)
index 0000000..bef3061
--- /dev/null
@@ -0,0 +1,22 @@
+Invalid octal literals
+-----
+<?php
+0787;
+-----
+!!php7
+Invalid numeric literal from 2:1 to 2:4
+array(
+    0: Scalar_LNumber(
+        value: 0
+    )
+)
+-----
+<?php
+0787;
+-----
+!!php5
+array(
+    0: Scalar_LNumber(
+        value: 7
+    )
+)
\ No newline at end of file