PHP 8.5.0 Alpha 2 available for testing

readline_read_history

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

readline_read_historyLee el historial

Descripción

readline_read_history(?string $filename = null): bool

Lee una línea del historial desde el fichero filename.

Parámetros

filename

Ruta de acceso al fichero que contiene el historial de comandos.

Valores devueltos

Esta función retorna true en caso de éxito o false si ocurre un error.

Historial de cambios

Versión Descripción
8.0.0 filename ahora es nullable.
add a note

User Contributed Notes 1 note

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

Else it wont work.
To Top