blob: cac833f0ce62a7f6d92c46b19d54add2597c9175 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
Testing __call() declaration in interface with wrong modifier
--FILE--
<?php
interface a {
static function __call($a, $b);
}
?>
--EXPECTF--
Fatal error: Method a::__call() cannot be static in %s on line %d
|