mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
16 lines
382 B
PHP
16 lines
382 B
PHP
--TEST--
|
|
errmsg: static abstract function
|
|
--FILE--
|
|
<?php
|
|
|
|
class test {
|
|
static abstract function foo ();
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Strict Standards: Static function test::foo() should not be abstract in %s on line %d
|
|
|
|
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
|