readline_write_history

Writes the history

Description

bool readline_write_history(stringnull $filename = null)

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.