php-src/Zend/tests/magic_methods_006.phpt
Nikita Popov 19de727e04 Report magic method names as written
Report the name the way the user has written it, the same way we
always do.
2020-07-20 11:12:47 +02:00

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