summaryrefslogtreecommitdiff
path: root/Zend/tests/bug63816.phpt
blob: b6db9bd1dabb64d7e3b07c96df407d18e2684803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--TEST--
Bug #63816: implementation child interface and after parent cause fatal error
--FILE--
<?php

interface RootInterface
{
    function foo();
}

interface FirstChildInterface extends RootInterface
{
    function foo();
}

interface SecondChildInterface extends RootInterface
{
    function foo();
}

class A implements FirstChildInterface, SecondChildInterface
{
    function foo()
    {
    }
}

class B implements RootInterface, FirstChildInterface
{
    function foo()
    {
    }
}

class C implements FirstChildInterface, RootInterface
{
    function foo()
    {
    }
}

?>
===DONE===
--EXPECT--
===DONE===