1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Files
archived-php-src/Zend/tests/clone_003.phpt
2008-05-11 22:44:56 +00:00

13 lines
214 B
PHP

--TEST--
Using clone statement on undefined variable
--FILE--
<?php
$a = clone $b;
?>
--EXPECTF--
Notice: Undefined variable: b in %s on line %d
Fatal error: __clone method called on non-object in %s on line %d