mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
19de727e04
Report the name the way the user has written it, the same way we always do.
13 lines
243 B
PHP
13 lines
243 B
PHP
--TEST--
|
|
Testing __callstatic declaration in interface with missing the 'static' modifier
|
|
--FILE--
|
|
<?php
|
|
|
|
interface a {
|
|
function __callstatic($a, $b);
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Method a::__callstatic() must be static in %s on line %d
|