php-src/Zend/tests/errmsg_012.phpt
2007-02-07 11:10:32 +00:00

12 lines
210 B
PHP

--TEST--
errmsg: __autoload() must take exactly 1 argument
--FILE--
<?php
function __autoload($a, $b) {}
echo "Done\n";
?>
--EXPECTF--
Fatal error: __autoload() must take exactly 1 argument in %s on line %d