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