dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

readline_redisplay> <readline_on_new_line
[edit] Last updated: Fri, 28 Jun 2013

view this page in

readline_read_history

(PHP 4, PHP 5)

readline_read_historyReads the history

Description

bool readline_read_history ([ string $filename ] )

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 readline_read_history - [1 notes]
up
0
Anonymous
2 years ago
Note that the first line in the history file must contain the string: _HiStOrY_V2_

Else it wont work.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites