2007-10-03 09:47:45 +00:00
|
|
|
--TEST--
|
|
|
|
Bug #42818 ($foo = clone(array()); leaks memory)
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
$foo = clone(array());
|
|
|
|
?>
|
|
|
|
--EXPECTF--
|
2007-10-04 23:19:20 +00:00
|
|
|
Fatal error: __clone method called on non-object in %sbug42818.php on line 2
|
2007-10-03 09:47:45 +00:00
|
|
|
|