diff options
Diffstat (limited to 'Zend/tests/errmsg_010.phpt')
-rw-r--r-- | Zend/tests/errmsg_010.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Zend/tests/errmsg_010.phpt b/Zend/tests/errmsg_010.phpt new file mode 100644 index 0000000..ae2572f --- /dev/null +++ b/Zend/tests/errmsg_010.phpt @@ -0,0 +1,13 @@ +--TEST-- +errmsg: multiple access type modifiers are not allowed (methods) +--FILE-- +<?php + +class test { + private protected function foo() {} +} + +echo "Done\n"; +?> +--EXPECTF-- +Fatal error: Multiple access type modifiers are not allowed in %s on line %d |