summaryrefslogtreecommitdiff
path: root/Zend/tests/bug42818.phpt
blob: 9874a09cb7a871e673e9c4f3f4653e286fdd3220 (plain)
1
2
3
4
5
6
7
8
--TEST--
Bug #42818 ($foo = clone(array()); leaks memory)
--FILE--
<?php
$foo = clone(array());
?>
--EXPECTF--
Fatal error: __clone method called on non-object in %sbug42818.php on line 2