diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2007-10-04 23:19:20 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2007-10-04 23:19:20 +0000 |
commit | 4c619a3f5faf1b218f050986f3d595ef795c669f (patch) | |
tree | b44bd9fdd68cce2e126aa7bfb030b9fbc2e31d84 /Zend/tests/bug42818.phpt | |
parent | f6b761b0ac061fd503c5c7caa663a9c9f8fd472a (diff) | |
download | php-git-4c619a3f5faf1b218f050986f3d595ef795c669f.tar.gz |
Fixed bug #42817 (clone() on a non-object does not result in a fatal error)
Diffstat (limited to 'Zend/tests/bug42818.phpt')
-rw-r--r-- | Zend/tests/bug42818.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/bug42818.phpt b/Zend/tests/bug42818.phpt index a1d79a41e5..09ad693b44 100644 --- a/Zend/tests/bug42818.phpt +++ b/Zend/tests/bug42818.phpt @@ -5,5 +5,5 @@ Bug #42818 ($foo = clone(array()); leaks memory) $foo = clone(array()); ?> --EXPECTF-- -Warning: __clone method called on non-object in %sbug42818.php on line 2 +Fatal error: __clone method called on non-object in %sbug42818.php on line 2 |