(PHP 4, PHP 5, PHP 7, PHP 8)
readline_list_history — Lists the history
Gets the entire command line history.
This function has no parameters.
Returns an array of the entire command line history. The elements are indexed by integers starting at zero.