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

1.1     ! misho       1: --TEST--
        !             2: Bug #41633.4 (self:: doesn't work for constants)
        !             3: --FILE--
        !             4: <?php
        !             5: class Foo {
        !             6:        const A = self::B;
        !             7:        const B = "ok";
        !             8: }
        !             9: var_dump(defined("Foo::A"));
        !            10: ?>
        !            11: --EXPECT--
        !            12: bool(true)

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