mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
17 lines
252 B
PHP
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
|