钟毅2017-10-04 14:52:26
PHP constants are constant character or numerical types defined in DEFINE. Commonly used fixed values such as 3.14 are considered this type of value. This is given in the predefined COMMON. Convenient to use throughout the entire process. This is all for frequent use during the development process.
数据分析师2017-09-30 23:33:17
What are constants? -PHP Chinese website Q&A-What are constants? -PHP Chinese website Q&A
Please watch and learn.
phpcn_u296722017-09-25 13:44:31
When writing constants, be sure to pay attention to capitalization. I didn't pay attention to this problem at the beginning when I was writing, and ended up getting very frustrated while debugging.
常青春2017-09-23 09:29:11
Constant can be understood as a quantity whose value does not change; or after the constant value is defined, it can be used globally, but the constant is not fixed.