runkit7_constant_remove

Remove/Delete an already defined constant

Description

bool runkit7_constant_remove(string $constant_name)

Parameters

constant_name

Name of the constant to remove. Either the name of a global constant, or classname::constname indicating a class constant.

Return Values

Returns true on success or false on failure.

See Also

  • define
  • runkit7_constant_add
  • runkit7_constant_redefine