Home > PHP > Function > Readline > readline_read_history()

readline_read_history()

readline_read_history - Reads the history

Syntax

bool readline_read_history (string $filename)

Arguments

  • filename - Path to the filename containing the command history.

Description

This function reads a command history from a file.

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.