diff options
Diffstat (limited to 'Zend/tests/errmsg_011.phpt')
-rw-r--r-- | Zend/tests/errmsg_011.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Zend/tests/errmsg_011.phpt b/Zend/tests/errmsg_011.phpt new file mode 100644 index 0000000..9cfde0f --- /dev/null +++ b/Zend/tests/errmsg_011.phpt @@ -0,0 +1,16 @@ +--TEST-- +errmsg: cannot redeclare (method) +--FILE-- +<?php + +class test { + + function foo() {} + function foo() {} + +} + +echo "Done\n"; +?> +--EXPECTF-- +Fatal error: Cannot redeclare test::foo() in %s on line %d |