Readline Функции
PHP Manual

readline_list_history

(PHP 4, PHP 5, PHP 7)

readline_list_historyLists the history

Описание

array readline_list_history ( void )

Gets the entire command line history.

Возвращаемые значения

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


Readline Функции
PHP Manual