xref: /PHP-8.1/Zend/tests/magic_methods_006.phpt (revision 19de727e)
1--TEST--
2Testing __callstatic declaration in interface with missing the 'static' modifier
3--FILE--
4<?php
5
6interface a {
7    function __callstatic($a, $b);
8}
9
10?>
11--EXPECTF--
12Fatal error: Method a::__callstatic() must be static in %s on line %d
13