Home > PHP > Function > Readline > readline_list_history()

readline_list_history()

readline_list_history - Lists the history

Syntax

array readline_list_history ()

Arguments

-

Description

Gets the entire command line history.

Version

PHP 4, 5

Return value

Returns an array of the entire command line history. The elements are indexed by integers starting at zero.