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

1.1     ! misho       1: --TEST--
        !             2: ReflectionClass::getDefaultProperties()
        !             3: --SKIPIF--
        !             4: <?php extension_loaded('reflection') or die('skip'); ?>
        !             5: --FILE--
        !             6: <?php
        !             7: class Foo {
        !             8:        public $test = "ok";
        !             9: }
        !            10: $class = new ReflectionClass("Foo");
        !            11: $props = $class->getDefaultProperties();
        !            12: echo $props["test"];
        !            13: ?>
        !            14: --EXPECT--     
        !            15: ok
        !            16: 

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