PHP - Manual: runkit7_constant_remove
2024-11-14
(PECL runkit7 >= Unknown)
runkit7_constant_remove — Remove/Delete an already defined constant
$constant_name
): boolconstant_name
Name of the constant to remove. Either the name of a global constant,
or classname::constname
indicating a class constant.
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/function.runkit7-constant-remove.php