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