« readline_on_new_line
readline_redisplay »

readline_read_history

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

readline_read_history — ヒストリを読み込む

説明

function readline_read_history(?string $filename = null): bool

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

パラメータ

filename

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

戻り値

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

変更履歴

バージョン 説明
8.0.0 filename は、nullable になりました。
関連キーワード:
ヒストリ   readline   read   history   filename   line   redisplay   Readline   成功   履歴   nullable
関連する関数・ページ:
function.readline-write-history   function.readline-add-history   function.readline-list-history   ref.readline   function.readline-clear-history   book.readline