bug42818.phpt 189 B

123456789
  1. --TEST--
  2. Bug #42818 ($foo = clone(array()); leaks memory)
  3. --FILE--
  4. <?php
  5. $foo = clone(array());
  6. ?>
  7. --EXPECTF--
  8. Fatal error: __clone method called on non-object in %sbug42818.php on line 2