Readline 函数
PHP 手册

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 手册