Note that the first line in the history file must contain the string: _HiStOrY_V2_
Else it wont work.
(PHP 4, PHP 5, PHP 7)
readline_read_history — 读取命令历史
$filename
] ) : bool这个函数从一个文件读取命令历史
filename
保存了命令历史的文件的路径.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
Note that the first line in the history file must contain the string: _HiStOrY_V2_
Else it wont work.