Annotation of embedaddon/php/Zend/tests/inter_03.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Testing interface constants with inheritance
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: interface a {
        !             7:        const b = 2;    
        !             8: }
        !             9: 
        !            10: interface b extends a {
        !            11:        const c = self::b;      
        !            12: }
        !            13: 
        !            14: var_dump(b::c, a::b);
        !            15: 
        !            16: ?>
        !            17: --EXPECT--
        !            18: int(2)
        !            19: int(2)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>