![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Testing __callstatic declaration with wrong modifier ! 3: --FILE-- ! 4: <?php ! 5: ! 6: class a { ! 7: static protected function __callstatic($a, $b) { ! 8: } ! 9: } ! 10: ! 11: ?> ! 12: --EXPECTF-- ! 13: Warning: The magic method __callStatic() must have public visibility and be static in %s on line %d