PHP的值能define()
不能构造...
像这样:
define(MY_NEW_CONSTANT, "He" + "llo - " + "World");
像这样:
define(MY_NEW_CONSTANT, "He", "llo - ", "World");
像这样:
define(MY_NEW_CONSTANT, "He" + "llo - " + $One_Of_My_Variables);
像这样:
define(MY_NEW_CONSTANT, "He", "llo - ", $One_Of_My_Variables);
如何在 PHP 中构建 value 参数define()
- 有可能吗?