Security update for Core, with self-updated composer
[yaffs-website] / vendor / nikic / php-parser / test / code / prettyPrinter / stmt / class_const.test
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/class_const.test b/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/class_const.test
new file mode 100644 (file)
index 0000000..e73ad43
--- /dev/null
@@ -0,0 +1,20 @@
+Class constants
+-----
+<?php
+
+class Foo
+{
+    const A = 1, B = 2;
+    public const C = 3, D = 4;
+    protected const E = 5, F = 6;
+    private const G = 7, H = 8;
+}
+-----
+!!php7
+class Foo
+{
+    const A = 1, B = 2;
+    public const C = 3, D = 4;
+    protected const E = 5, F = 6;
+    private const G = 7, H = 8;
+}
\ No newline at end of file