summaryrefslogtreecommitdiff
path: root/Zend/tests/magic_methods_005.phpt
blob: 76ab30087eab97b1cc6591818b360f8f9767eddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Testing __call() declaration in interface with wrong modifier
--FILE--
<?php

interface a {
	static function __call($a, $b);
}

?>
--EXPECTF--
Warning: The magic method __call() must have public visibility and cannot be static in %s on line %d