我知道定义一个常量,你做这样的事情
define("CONSTANT", "Hello world.");
如果我想改变常量的值,我将不得不再次定义()?为什么我不能CONSTANT = "whatever";在第一次定义之后再做?
CONSTANT = "whatever";
php constants
constants ×1
php ×1