mirror of
https://github.com/php/php-src.git
synced 2024-12-20 07:20:33 +08:00
10 lines
189 B
PHP
10 lines
189 B
PHP
--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
|
|
|