mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
15 lines
228 B
PHP
15 lines
228 B
PHP
--TEST--
|
|
errmsg: __clone() cannot accept any arguments
|
|
--FILE--
|
|
<?php
|
|
|
|
class test {
|
|
function __clone($var) {
|
|
}
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Method test::__clone() cannot accept any arguments in %s on line %d
|