READLINE_INFO(3) 1 READLINE_INFO(3)
readline_info - Gets/sets various internal readline variables
SYNOPSIS
mixed readline_info ([string $varname], [string $newvalue])
DESCRIPTION
Gets or sets various internal readline variables.
PARAMETERS
o $varname
- A variable name.
o $newvalue
- If provided, this will be the new value of the setting.
RETURN VALUES
If called with no parameters, this function returns an array of values for all the setting readline uses. The elements will be indexed by
the following values: done, end, erase_empty_line, library_version, line_buffer, mark, pending_input, point, prompt, readline_name, and
terminal_name.
If called with one or two parameters, the old value is returned.
PHP Documentation Group READLINE_INFO(3)