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