Readline 函数
PHP 手册

readline_write_history

(PHP 4, PHP 5)

readline_write_historyWrites the history

说明

bool readline_write_history ([ string $filename ] )

This function writes the command history to a file.

参数

filename

Path to the saved file.

返回值

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


Readline 函数
PHP 手册