mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
13 lines
253 B
PHP
13 lines
253 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 cannot be static in %s on line %d
|