Annotation of embedaddon/php/tests/classes/constants_error_005.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Error case: class constant as an encapsed containing a variable
        !             3: --FILE--
        !             4: <?php
        !             5:   class myclass
        !             6:   {
        !             7:       const myConst = "$myVar";
        !             8:   }
        !             9: ?>
        !            10: --EXPECTF--
        !            11: 
        !            12: Parse error: %s in %s on line %d

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