runkit7_function_remove

(PECL runkit7 >= Unknown)

runkit7_function_remove Remove a function definition

Description

runkit7_function_remove(string $function_name): bool

Note: By default, only userspace functions may be removed, renamed, or modified. In order to override internal functions, you must enable the runkit.internal_override setting in php.ini.

Parameters

function_name

Name of the function to be deleted

Return Values

Returns true on success or false on failure.

See Also