php-src/Zend/tests/clone_001.phpt
2008-05-11 22:44:56 +00:00

11 lines
163 B
PHP

--TEST--
Using clone statement on non-object
--FILE--
<?php
$a = clone array();
?>
--EXPECTF--
Fatal error: __clone method called on non-object in %s on line %d