PHP Velho Oeste 2024

readline_read_history

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

readline_read_historyヒストリを読み込む

説明

readline_read_history(?string $filename = null): bool

この関数は、コマンドヒストリをファイルから読み込みます。

パラメータ

filename

コマンドヒストリを含むファイルへのパス。

戻り値

成功した場合に true を、失敗した場合に false を返します。

変更履歴

バージョン 説明
8.0.0 filename は、nullable になりました。
add a note add a note

User Contributed Notes 1 note

up
0
Anonymous
13 years ago
Note that the first line in the history file must contain the string: _HiStOrY_V2_

Else it wont work.
To Top