(PHP 4, PHP 5, PHP 7, PHP 8)
readline_read_history — Reads the history
$filename = null): boolThis function reads a command history from a file.
filenamePath to the filename containing the command history.
Returns true on success or false on failure.
| Version | Description |
|---|---|
| 8.0.0 |
filename is nullable now.
|