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

1.1     ! misho       1: --TEST--
        !             2: Testing get_declared_traits() inside namespace
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: namespace test {
        !             7:        class a { }
        !             8:        interface b { }
        !             9:        trait c { }
        !            10:        abstract class d { }
        !            11:        final class e { }
        !            12:        var_dump(get_declared_traits());
        !            13: }
        !            14: 
        !            15: ?>
        !            16: --EXPECT--
        !            17: array(1) {
        !            18:   [0]=>
        !            19:   string(6) "test\c"
        !            20: }

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