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

1.1     ! misho       1: --TEST--
        !             2: Error case: class constant as an array
        !             3: --FILE--
        !             4: <?php
        !             5:   class myclass
        !             6:   {
        !             7:       const myConst = array();
        !             8:   }
        !             9: ?>
        !            10: --EXPECTF--
        !            11: 
        !            12: Fatal error: Arrays are not allowed in class constants in %s on line 4

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