mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
11 lines
163 B
PHP
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
|