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

1.1       misho       1: --TEST--
                      2: Bug #41640 (get_class_vars produces error on class constants)
                      3: --FILE--
                      4: <?php
                      5: class foo {
                      6:         const FOO = 1;
                      7:         public $x = self::FOO;
                      8: }
                      9: 
                     10: var_dump(get_class_vars("foo"));
                     11: --EXPECT--
                     12: array(1) {
                     13:   ["x"]=>
                     14:   int(1)
                     15: }

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