readline_clear_history
PHP 4, PHP 5, PHP 7, PHP 8
readline_clear_history - Clears the history
Manual
readline_clear_history(
): bool
This function clears the entire command line history.
Parameters
This function has no parameters.
Return Values
Returns true on success or false on failure.