Readline 函数
PHP Manual

readline_clear_history

(PHP 4, PHP 5)

readline_clear_historyClears the history

说明

bool readline_clear_history ( void )

This function clears the entire command line history.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.


Readline 函数
PHP Manual