readline_read_history

(PHP 4, PHP 5, PHP 7)

readline_read_historyReads the history

Descrierea

readline_read_history ( string|null $filename = null ) : bool

This function reads a command history from a file.

Parametri

filename

Path to the filename containing the command history.

Valorile întoarse

Întoarce valoarea true în cazul succesului sau false în cazul eșecului.

Istoricul schimbărilor

Versiune Descriere
8.0.0 filename is nullable now.
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