是否可以将数组声明为常量 [英] Is it possible to declare an array as constant
本文介绍了是否可以将数组声明为常量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们可以定义一个常量,例如
We can define a constant like
define("aconstant','avalue');
我们不能像下面这样定义数组吗?
Can't we define array in this fashion like below ?
define("months",array("January", "February", ---);
推荐答案
查看全文