summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_009.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/errmsg_009.phpt')
-rw-r--r--Zend/tests/errmsg_009.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Zend/tests/errmsg_009.phpt b/Zend/tests/errmsg_009.phpt
new file mode 100644
index 0000000..4834fa3
--- /dev/null
+++ b/Zend/tests/errmsg_009.phpt
@@ -0,0 +1,13 @@
+--TEST--
+errmsg: multiple access type modifiers are not allowed (properties)
+--FILE--
+<?php
+
+class test {
+ public private $var;
+}
+
+echo "Done\n";
+?>
+--EXPECTF--
+Fatal error: Multiple access type modifiers are not allowed in %s on line %d