php-src/Zend/tests/errmsg_001.phpt
2018-10-14 12:07:20 -03:00

17 lines
252 B
PHP

--TEST--
errmsg: Non-abstract method must contain body
--FILE--
<?php
abstract class test {
}
class Impl extends Test {
function Foo();
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Non-abstract method Impl::Foo() must contain body in %s on line %d