We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e9ae581 + c3ab8fd commit d95f465Copy full SHA for d95f465
Zend/tests/bug63816.phpt
@@ -0,0 +1,45 @@
1
+--TEST--
2
+Bug #63816: implementation child interface and after parent cause fatal error
3
+--FILE--
4
+<?php
5
+
6
+interface RootInterface
7
+{
8
+ function foo();
9
+}
10
11
+interface FirstChildInterface extends RootInterface
12
13
14
15
16
+interface SecondChildInterface extends RootInterface
17
18
19
20
21
+class A implements FirstChildInterface, SecondChildInterface
22
23
+ function foo()
24
+ {
25
+ }
26
27
28
+class B implements RootInterface, FirstChildInterface
29
30
31
32
33
34
35
+class C implements FirstChildInterface, RootInterface
36
37
38
39
40
41
42
+?>
43
+===DONE===
44
+--EXPECT--
45
0 commit comments