PHP 8.3.4 Released!

readline_read_history

(PHP 4, PHP 5, PHP 7, PHP 8)

readline_read_historyLê o histórico

Descrição

readline_read_history(?string $filename = null): bool

Esta função lê o histórico de comandos de um arquivo.

Parâmetros

filename

Caminho para o nome do arquivo contendo o histórico de comando.

Valor Retornado

Retorna true em caso de sucesso ou false em caso de falha.

Registro de Alterações

Versão Descrição
8.0.0 filename é anulável agora.
add a note

User Contributed Notes 1 note

up
-4
Anonymous
13 years ago
Note that the first line in the history file must contain the string: _HiStOrY_V2_

Else it wont work.
To Top