Annotation of embedaddon/php/ext/reflection/tests/traits002.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: ReflectionClass and Traits
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: abstract class foo {
        !             7: }
        !             8: 
        !             9: trait bar {
        !            10:        
        !            11: }
        !            12: 
        !            13: reflectionclass::export('foo');
        !            14: reflectionclass::export('bar');
        !            15: 
        !            16: ?>
        !            17: --EXPECTF--
        !            18: Class [ <user> abstract class foo ] {
        !            19:   @@ %s 3-4
        !            20: 
        !            21:   - Constants [0] {
        !            22:   }
        !            23: 
        !            24:   - Static properties [0] {
        !            25:   }
        !            26: 
        !            27:   - Static methods [0] {
        !            28:   }
        !            29: 
        !            30:   - Properties [0] {
        !            31:   }
        !            32: 
        !            33:   - Methods [0] {
        !            34:   }
        !            35: }
        !            36: 
        !            37: Trait [ <user> trait bar ] {
        !            38:   @@ %s 6-8
        !            39: 
        !            40:   - Constants [0] {
        !            41:   }
        !            42: 
        !            43:   - Static properties [0] {
        !            44:   }
        !            45: 
        !            46:   - Static methods [0] {
        !            47:   }
        !            48: 
        !            49:   - Properties [0] {
        !            50:   }
        !            51: 
        !            52:   - Methods [0] {
        !            53:   }
        !            54: }

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