xref: /PHP-7.4/Zend/tests/magic_methods_009.phpt (revision dc697bce)
1--TEST--
2Testing __callstatic declaration with wrong modifier
3--FILE--
4<?php
5
6class a {
7	static protected function __callstatic($a, $b) {
8	}
9}
10
11?>
12--EXPECTF--
13Warning: The magic method __callStatic() must have public visibility and be static in %s on line %d
14