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