diff options
Diffstat (limited to 'Zend/tests/errmsg_028.phpt')
-rw-r--r-- | Zend/tests/errmsg_028.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Zend/tests/errmsg_028.phpt b/Zend/tests/errmsg_028.phpt new file mode 100644 index 0000000..3331cb3 --- /dev/null +++ b/Zend/tests/errmsg_028.phpt @@ -0,0 +1,12 @@ +--TEST-- +errmsg: cannot use 'self' as class name +--FILE-- +<?php + +class self { +} + +echo "Done\n"; +?> +--EXPECTF-- +Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d |