Php/docs/function.readline-write-history

From Get docs

readline_write_history

(PHP 4, PHP 5, PHP 7)

readline_write_historyWrites the history


Description

readline_write_history ([ string|null $filename = NULL ] ) : bool

This function writes the command history to a file.


Parameters

filename
Path to the saved file.


Return Values

Returns TRUE on success or FALSE on failure.


Changelog

Version Description
8.0.0 filename is nullable now.