mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
8d00385871
Per RFC https://wiki.php.net/rfc/reclassify_e_strict While reviewing this, found that there are still three E_STRICTs left in libraries - need to discuss those.
15 lines
296 B
PHP
15 lines
296 B
PHP
--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
|