xref: /PHP-7.2/Zend/tests/bug43200_2.phpt (revision 4b953534)
1--TEST--
2Bug #43200.2 (Interface implementation / inheritance not possible in abstract classes)
3--FILE--
4<?php
5
6interface A {
7	function foo();
8}
9
10abstract class B implements A {
11	abstract public function foo();
12}
13
14class C extends B {
15	public function foo() {
16		echo 'works';
17	}
18}
19
20$o = new C();
21$o->foo();
22
23?>
24--EXPECTF--
25works
26