Readline
PHP Manual

readline_clear_history

(PHP 4, PHP 5)

readline_clear_history — Clears the history

说明

bool readline_clear_history ( void )

This function clears the entire command line history.

返回值

如果成功则返回 TRUE,失败则返回 FALSE


Readline
PHP Manual