mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
17 lines
257 B
PHP
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
|