PHP中定义数组常量(array常量)的方法 在PHP中,我们不能用const直接定义数组常量,但是const可以定义字符串常量,结合eval()函数使字符串常量能执行。 PHP编程 2022-04-07 138 点赞 2 评论 209 浏览