php-src/Zend/tests/magic_methods_005.phpt

13 lines
253 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 cannot be static in %s on line %d