xref: /PHP-8.4/Zend/tests/bug44414.phpt (revision 61a6083e)
1--TEST--
2Bug #44414 (incomplete reporting about abstract methods)
3--FILE--
4<?php
5abstract class A {
6  abstract function foo();
7}
8interface B {
9  function bar();
10}
11class C extends A implements B {
12}
13?>
14--EXPECTF--
15Fatal 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
16