Home > PHP > Function > runkit > runkit_constant_remove()

runkit_constant_remove()

runkit_constant_remove - Remove/Delete an already defined constant

Syntax

bool runkit_constant_remove (string $constname)

Arguments

  • constname - Name of constant to remove. Either a string indicating a global constant, or classname::constnameindicating a class constant.

Description

Version

PHP PECL runkit >= 0.7.0

Return value

Returns TRUE on success or FALSE on failure.