xref: /PHP-7.0/Zend/tests/magic_methods_005.phpt (revision 2462fce2)
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--
12Warning: The magic method __call() must have public visibility and cannot be static in %s on line %d
13