readline_read_history

(PHP 4, PHP 5, PHP 7, PHP 8)

readline_read_history读取命令历史

说明

readline_read_history(string $filename = ?): bool

这个函数从一个文件读取命令历史

参数

filename

保存了命令历史的文件的路径.

返回值

成功时返回 true, 或者在失败时返回 false

add a noteadd a note

User Contributed Notes 1 note

up
-2
Anonymous
11 years ago
Note that the first line in the history file must contain the string: _HiStOrY_V2_

Else it wont work.

备份地址:http://www.lvesu.com/blog/php/function.readline-read-history.php