PHP - Manual: readline_clear_history
2025-03-14
(PHP 4, PHP 5, PHP 7, PHP 8)
readline_clear_history — 清除历史
这个函数清除全部的命令行历史。
此函数没有参数。
总是返回 true。
true
官方地址:https://www.php.net/manual/en/function.readline-clear-history.php