php-src/Zend/tests/errmsg_040.phpt
2007-02-07 11:10:32 +00:00

14 lines
222 B
PHP

--TEST--
errmsg: arrays are not allowed in class constants
--FILE--
<?php
class test {
const TEST = array(1,2,3);
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Arrays are not allowed in class constants in %s on line %d