PHP.nl

readline_info

readline_info

Gets/sets various internal readline variables

mixed **readline_info**  $var_name  $value

Gets or sets various internal readline variables.

var_nameA variable name.

valueIf provided, this will be the new value of the setting.

If called with no parameters, this function returns an array of values for all the settings readline uses. The elements will be indexed by the following values: , , , , , , , , , , and . The array will only contain those elements which are supported by the library used to built the readline extension. done``end``erase_empty_line``library_version``line_buffer``mark``pending_input``point``prompt``readline_name``terminal_name

If called with one or two parameters, the old value is returned.