magic_methods_005.phpt 253 B

123456789101112
  1. --TEST--
  2. Testing __call() declaration in interface with wrong modifier
  3. --FILE--
  4. <?php
  5. interface a {
  6. static function __call($a, $b);
  7. }
  8. ?>
  9. --EXPECTF--
  10. Warning: The magic method __call() must have public visibility and cannot be static in %s on line %d