php-src/Zend/tests/errmsg_001.phpt
2007-02-07 11:10:32 +00:00

17 lines
257 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