mirror of
https://github.com/php/php-src.git
synced 2024-09-29 22:06:09 +00:00
10 lines
185 B
Plaintext
10 lines
185 B
Plaintext
|
--TEST--
|
||
|
Bug #42818 ($foo = clone(array()); leaks memory)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$foo = clone(array());
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Warning: __clone method called on non-object in %sbug42818.php on line 2
|
||
|
|