mirror of
https://github.com/php/php-src.git
synced 2024-12-16 05:15:03 +08:00
fbbcf82ab7
And promote it to be fatal.
13 lines
221 B
PHP
13 lines
221 B
PHP
--TEST--
|
|
Testing __call() declaration in interface with wrong modifier
|
|
--FILE--
|
|
<?php
|
|
|
|
interface a {
|
|
static function __call($a, $b);
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Method a::__call() cannot be static in %s on line %d
|