xref: /PHP-7.4/Zend/tests/magic_methods_006.phpt (revision dc697bce)
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--
12Warning: The magic method __callStatic() must have public visibility and be static in %s on line %d
13