mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
13 lines
214 B
Plaintext
13 lines
214 B
Plaintext
|
--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
|