Your IP : 216.73.216.48


Current Path : /hdd/hdd12/install/php/php-7.4.32/Zend/tests/
Upload File :
Current File : //hdd/hdd12/install/php/php-7.4.32/Zend/tests/bug63816.phpt

--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===