readline_info

(PHP 4, PHP 5)

readline_infoGets/sets various internal readline variables

Описание

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

Gets or sets various internal readline variables.

Список параметров

varname

A variable name.

newvalue

If 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 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
print_r
(readline_info());

Array
(
    [
line_buffer] => print_r(readline_info());

    [
point] => 0
   
[end] => 0
   
[library_version] => EditLine wrapper
   
[readline_name] => 
)
?>

    Поддержать сайт на родительском проекте КГБ