Annotation of embedaddon/php/Zend/tests/bug41633_3.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #41633.3 (Crash instantiating classes with self-referencing constants)
                      3: --FILE--
                      4: <?php
                      5: class Foo {
                      6:        const A = Foo::B;
                      7:        const B = Foo::A;
                      8: }
                      9: echo Foo::A;
                     10: ?>
                     11: --EXPECTF--
                     12: Fatal error: Cannot declare self-referencing constant 'Foo::B' in %sbug41633_3.php on line %d

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