php-src/Zend/tests/errmsg_015.phpt
2018-10-14 12:07:20 -03:00

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