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

1.1       misho       1: --TEST--
                      2: Bug #47572 (zval_update_constant_ex: Segmentation fault)
                      3: --FILE--
                      4: <?php
                      5: 
                      6: class Foo {
                      7:   public static $bar = array(
                      8:     FOO => "bar"
                      9:     );
                     10: 
                     11: }
                     12: 
                     13: $foo = new Foo();
                     14: 
                     15: ?>
                     16: --EXPECTF--
                     17: Notice: Use of undefined constant FOO - assumed 'FOO' in %s on line %d

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