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