summaryrefslogtreecommitdiff
path: root/Zend/tests/magic_methods_006.phpt
blob: 0a83a448ef51d17a23d9f9c60b57bcd24ce7dfc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Testing __callstatic declaration in interface with missing the 'static' modifier
--FILE--
<?php

interface a {
    function __callstatic($a, $b);
}

?>
--EXPECTF--
Fatal error: Method a::__callstatic() must be static in %s on line %d