php-src/Zend/tests/errmsg_017.phpt
2020-02-03 22:52:20 +01:00

15 lines
231 B
PHP

--TEST--
errmsg: __unset() must take exactly 1 argument
--FILE--
<?php
class test {
function __unset() {
}
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Method test::__unset() must take exactly 1 argument in %s on line %d