Php/docs/function.readline-clear-history
From Get docs
readline_clear_history
(PHP 4, PHP 5, PHP 7)
readline_clear_history — Clears the history
Description
readline_clear_history ( ) : bool
This function clears the entire command line history.
Return Values
Returns TRUE
on success or FALSE
on failure.