php[world] 2019 — 25 years of PHP

readline_read_history

(PHP 4, PHP 5, PHP 7)

readline_read_historyReads the history

Description

readline_read_history ([ string $filename ] ) : bool

This function reads a command history from a file.

Parameters

filename

Path to the filename containing the command history.

Return Values

Returns TRUE on success or FALSE on failure.

add a note add a note

User Contributed Notes 1 note

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

Else it wont work.
To Top