1 2 3 4 5 6 7 8 9 10 11 12 13 14
--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