mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
15 lines
296 B
Plaintext
15 lines
296 B
Plaintext
|
--TEST--
|
||
|
errmsg: static abstract function
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
class test {
|
||
|
static abstract function foo ();
|
||
|
}
|
||
|
|
||
|
echo "Done\n";
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
|
||
|
Fatal error: Class test contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (test::foo) in %s on line %d
|