Readline 函数
PHP 手册

readline_list_history

(PHP 4, PHP 5)

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 手册