ru_php/Zend/tests/errmsg/errmsg_018.phpt

14 lines
253 B
PHP

--TEST--
errmsg: static abstract function
--FILE--
<?php
class test {
static abstract function foo ();
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Class test declares abstract method foo() and must therefore be declared abstract in %s on line %d