dis-bench / src /php /php-src /Zend /tests /errmsg /errmsg_019.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
230 Bytes
--TEST--
errmsg: __destruct() cannot take arguments
--FILE--
<?php
class test {
function __destruct($var) {
}
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Method test::__destruct() cannot take arguments in %s on line %d