inter_007.phpt 294 B

1234567891011121314151617181920
  1. --TEST--
  2. Trying inherit abstract function twice
  3. --FILE--
  4. <?php
  5. interface d {
  6. static function B();
  7. }
  8. interface c {
  9. function b();
  10. }
  11. class_alias('c', 'w');
  12. interface a extends d, w { }
  13. ?>
  14. --EXPECTF--
  15. Fatal error: Cannot make non static method c::B() static in class d in %s on line 4