Return to errmsg_040.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
1.1 misho 1: --TEST-- 2: errmsg: arrays are not allowed in class constants 3: --FILE-- 4: <?php 5: 6: class test { 7: const TEST = array(1,2,3); 8: } 9: 10: echo "Done\n"; 11: ?> 12: --EXPECTF-- 13: Fatal error: Arrays are not allowed in class constants in %s on line %d