Readline variables and their function can be found here: https://tiswww.case.edu/php/chet/readline/readline.html#Readline-Variables
(PHP 4, PHP 5, PHP 7, PHP 8)
readline_info — Lee o modifica diversas variables internas de readline
Lee/modifica diversas variables internas.
var_name
Un nombre de variable.
value
Si se proporciona, será el nuevo valor a definir.
Cuando se invoca sin parámetros, readline_info()
devuelve un array que contiene los valores de los parámetros de
Readline. Los elementos estarán indexados por las claves siguientes :
"done"
, "end"
,
"erase_empty_line"
, "library_version"
,
"line_buffer"
, "mark"
,
"pending_input"
, "point"
,
"prompt"
, "readline_name"
y
"terminal_name"
.
El tableau solo contendrá los elementos que sean soportados
por la biblioteca utilizada para construir la extensión readline.
Si se invoca con uno o dos parámetros, se devuelve el valor anterior.
Versión | Descripción |
---|---|
8.0.0 |
var_name y value ahora son nullable.
|
Readline variables and their function can be found here: https://tiswww.case.edu/php/chet/readline/readline.html#Readline-Variables