Note this function is only available when PHP is compiled with libreadline, not if it is compiled with libedit.
<?php
if (function_exists('readline_list_history')) {
$history = readline_list_history();
// ...
} else {
echo 'Not supported by the compiled library.'.PHP_EOL;
}
?>
readline_list_history
(PHP 4, PHP 5)
readline_list_history — Lista a história
Descrição
array readline_list_history
( void
)
Obtém o histório de linha de comando inteiro.
Valor Retornado
Retorna um array do histórico de linha de comando inteiro. Os elementos são indexados por inteiros iniciando de zero.
User Contributed Notes
readline_list_history
readline_list_history
Anonymous
26-Jan-2011 04:17
26-Jan-2011 04:17

readline_info