bug44414.phpt 382 B

123456789101112131415
  1. --TEST--
  2. Bug #44414 (incomplete reporting about abstract methods)
  3. --FILE--
  4. <?php
  5. abstract class A {
  6. abstract function foo();
  7. }
  8. interface B {
  9. function bar();
  10. }
  11. class C extends A implements B {
  12. }
  13. ?>
  14. --EXPECTF--
  15. Fatal error: Class C contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (A::foo, B::bar) in %sbug44414.php on line 8