diff options
Diffstat (limited to 'Zend/tests/errmsg_014.phpt')
-rw-r--r-- | Zend/tests/errmsg_014.phpt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Zend/tests/errmsg_014.phpt b/Zend/tests/errmsg_014.phpt deleted file mode 100644 index 77e12b05e9..0000000000 --- a/Zend/tests/errmsg_014.phpt +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -errmsg: cannot call __clone() method on objects ---FILE-- -<?php - -class test { - function __clone() { - } -} - -$t = new test; -$t->__clone(); - -echo "Done\n"; -?> ---EXPECTF-- -Fatal error: Cannot call __clone() method on objects - use 'clone $obj' instead in %s on line %d |