xref: /PHP-8.2/Zend/tests/magic_methods_005.phpt (revision fbbcf82a)
1--TEST--
2Testing __call() declaration in interface with wrong modifier
3--FILE--
4<?php
5
6interface a {
7    static function __call($a, $b);
8}
9
10?>
11--EXPECTF--
12Fatal error: Method a::__call() cannot be static in %s on line %d
13