php-src/Zend/tests/magic_methods_005.phpt

13 lines
254 B
PHP

--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 can not be static in %s on line %d