readline_callback_handler_remove
Description
The readline_callback_handler_remove of Readline for PHP removes a previously installed callback handler and restores terminal settings.
Syntax
readline_callback_handler_remove(): bool
Parameters
Return
Returns true if a previously installed callback handler was removed, or false if one could not be found.
Examples
1
<? function myfunction($input) { $return = readline_callback_handler_remove(); var_export($return); } $prompt = "myprompt"; $callback = "myfunction"; readline_callback_handler_install($prompt, $callback); readline_callback_read_char(); ?>
true