readline_read_history
(PHP 4, PHP 5, PHP 7)
readline_read_history — Reads the history
Description
readline_read_history ([ string|null $filename = null ] ) : 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.
Changelog
Version | Description |
---|---|
8.0.0 | filename is nullable now. |
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.readline-read-history.php