xref: /PHP-5.3/Zend/tests/errmsg_040.phpt (revision 0f0fe9c9)
1--TEST--
2errmsg: arrays are not allowed in class constants
3--FILE--
4<?php
5
6class test {
7	const TEST = array(1,2,3);
8}
9
10echo "Done\n";
11?>
12--EXPECTF--
13Fatal error: Arrays are not allowed in class constants in %s on line %d
14