首页 >函数列表 >readline_info

readline_info

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.


  • readline
  • readline_add_history
  • readline_callback_handler_install
  • readline_callback_handler_remove
  • readline_callback_read_char
  • readline_clear_history
  • readline_completion_function
  • readline_info
  • readline_list_history
  • readline_on_new_line
  • readline_read_history
  • readline_redisplay
  • readline_write_history
  • PHP MySQL HTML CSS JavaScript MSSQL AJAX .NET JSP Linux Mac ASP 服务器 SQL jQuery C# C++ java Android IOS oracle MongoDB SQLite wamp 交通频道