(PHP 4, PHP 5, PHP 7, PHP 8)
readline_write_history — Writes the history
$filename
= null
): boolThis function writes the command history to a file.
filename
Path to the saved file.
Returns true
on success or false
on failure.
Version | Description |
---|---|
8.0.0 |
filename is nullable now.
|