readline_clear_history

Clears the history

Syntax

readline_clear_history(): bool

Return

Returns true on success or false on failure.

Examples

<?

$return = readline_clear_history();

var_export($return);

?>
true

readline

readline_add_history

readline_callback_handler_install

readline_callback_handler_remove

readline_callback_read_char

readline_completion_function

readline_info

readline_list_history

readline_on_new_line

readline_read_history

readline_redisplay

readline_write_history

PHP

Home Menu