bug43323.phpt 328 B

123456789101112
  1. --TEST--
  2. Bug #43323 (Wrong count abstract methods)
  3. --FILE--
  4. <?php
  5. abstract class bar {
  6. abstract public function bar();
  7. }
  8. class foo extends bar {
  9. }
  10. --EXPECTF--
  11. Fatal error: Class foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (bar::bar) in %sbug43323.php on line 7