1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Files
archived-php-src/Zend/tests/errmsg_019.phpt
2018-10-14 19:44:14 +02:00

15 lines
228 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