Readline 函数
PHP Manual

readline_read_history

(PHP 4, PHP 5)

readline_read_historyReads the history

说明

bool readline_read_history ([ string $filename ] )

This function reads a command history from a file.

参数

filename

Path to the filename containing the command history.

返回值

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


Readline 函数
PHP Manual