Readline 函数
在线手册:中文 英文
PHP手册

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手册
PHP手册 - N: Reads the history

用户评论:

Anonymous (27-Jan-2011 12:07)

Note that the first line in the history file must contain the string: _HiStOrY_V2_

Else it wont work.