Annotation of embedaddon/php/tests/classes/constants_error_004.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Class constant whose initial value refereces a non-existent class
                      3: --FILE--
                      4: <?php
                      5:   class C
                      6:   {
                      7:       const c1 = D::hello;
                      8:   }
                      9:   
                     10:   $a = new C();
                     11: ?>
                     12: --EXPECTF--
                     13: Fatal error: Class 'D' not found in %s on line %d

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