PHP Manual
Prev |  | Next

# readline_info

(PHP 4, PHP 5)

readline_info -- Gets/sets various internal readline variables

## Description

mixed readline_info ( [string varname [, string newvalue]] )

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 parameter, the value of that setting is returned. If called with two parameters, the setting will be changed to the given value.

Prev | Home | Next
readline_completion_function | Up | readline_list_history