mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
13 lines
270 B
PHP
13 lines
270 B
PHP
--TEST--
|
|
Testing __callstatic declaration in interface with missing the 'static' modifier
|
|
--FILE--
|
|
<?php
|
|
|
|
interface a {
|
|
function __callstatic($a, $b);
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: The magic method __callStatic() must have public visibility and be static in %s on line %d
|