Readline Functions
PHP Manual

readline_clear_history

(PHP 4, PHP 5)

readline_clear_historyClears the history

Description

bool readline_clear_history ( void )

This function clears the entire command line history.

Return Values

Returns TRUE on success or FALSE on failure.


Readline Functions
PHP Manual