readline_read_history
PHP function
Edit on GitHub ✎
(PHP 4, PHP 5, PHP 7, PHP 8)
Reads the history
Description
readline_read_history(string|null $filename = null): bool
This function reads a command history from a file.
Parameters
filenamePath to the filename containing the command history.
Return Values
Success
Changelog
| Version | Description |
|---|---|
| 8.0.0 | filename is nullable now. |