mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
17 lines
257 B
Plaintext
17 lines
257 B
Plaintext
|
--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
|