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

1.1     ! misho       1: --TEST--
        !             2: ReflectionObject::export() : very basic test with no dynamic properties
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: class Foo  {
        !             7:        public $bar = 1;
        !             8: }
        !             9: $f = new foo;
        !            10: 
        !            11: ReflectionObject::export($f);
        !            12: 
        !            13: ?>
        !            14: --EXPECTF--
        !            15: Object of class [ <user> class Foo ] {
        !            16:   @@ %s 3-5
        !            17: 
        !            18:   - Constants [0] {
        !            19:   }
        !            20: 
        !            21:   - Static properties [0] {
        !            22:   }
        !            23: 
        !            24:   - Static methods [0] {
        !            25:   }
        !            26: 
        !            27:   - Properties [1] {
        !            28:     Property [ <default> public $bar ]
        !            29:   }
        !            30: 
        !            31:   - Dynamic properties [0] {
        !            32:   }
        !            33: 
        !            34:   - Methods [0] {
        !            35:   }
        !            36: }

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