Return to magic_methods_005.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
1.1 misho 1: --TEST-- 2: Testing __call() declaration in interface with wrong modifier 3: --FILE-- 4: <?php 5: 6: interface a { 7: static function __call($a, $b); 8: } 9: 10: ?> 11: --EXPECTF-- 12: Warning: The magic method __call() must have public visibility and cannot be static in %s on line %d