xref: /PHP-5.5/Zend/tests/bug42818.phpt (revision 4c619a3f)
1--TEST--
2Bug #42818 ($foo = clone(array()); leaks memory)
3--FILE--
4<?php
5$foo = clone(array());
6?>
7--EXPECTF--
8Fatal error: __clone method called on non-object in %sbug42818.php on line 2
9
10