mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
13 lines
254 B
PHP
13 lines
254 B
PHP
--TEST--
|
|
Testing __call() declaration in interface with wrong modifier
|
|
--FILE--
|
|
<?php
|
|
|
|
interface a {
|
|
static function __call($a, $b);
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: The magic method __call() must have public visibility and can not be static in %s on line %d
|