Home > PHP > Function > Readline > readline_write_history()

readline_write_history()

readline_write_history - Writes the history

Syntax

bool readline_write_history (string $filename)

Arguments

  • filename - Path to the saved file.

Description

This function writes the command history to a file.

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.