diff options
Diffstat (limited to 'Zend/tests/objects_010.phpt')
| -rw-r--r-- | Zend/tests/objects_010.phpt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Zend/tests/objects_010.phpt b/Zend/tests/objects_010.phpt new file mode 100644 index 000000000..5d004629d --- /dev/null +++ b/Zend/tests/objects_010.phpt @@ -0,0 +1,19 @@ +--TEST-- +redefining constructor (__construct second) +--INI-- +error_reporting=8191 +--FILE-- +<?php + +class test { + function test() { + } + function __construct() { + } +} + +echo "Done\n"; +?> +--EXPECTF-- +Strict Standards: Redefining already defined constructor for class test in %s on line %d +Done |
