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

15 lines
230 B
PHP

--TEST--
errmsg: __destruct() cannot take arguments
--FILE--
<?php
class test {
function __destruct($var) {
}
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Destructor test::__destruct() cannot take arguments in %s on line %d