1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 18:13:00 +02:00
Files
archived-php-src/Zend/tests/errmsg_015.phpt
2020-02-03 22:52:20 +01:00

15 lines
233 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