我在PHP中收到以下错误:
注意:使用未定义的常量CONSTANT
在我定义它的确切行上:
define(CONSTANT, true);
我究竟做错了什么?我定义了它,为什么它会说"Undefined constant"?
php constants undefined
constants ×1
php ×1
undefined ×1