readline_info Gets/sets various internal readline variables php函数


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_list_history Lists the history
readline_on_new_line Inform readline that the cursor has moved to a new line
readline_read_history Reads the history
readline_redisplay Redraws the display
readline_write_history Writes the history
readlink 返回符号连接指向的目标
read_exif_data 别名 exif_read_data
realpath 返回规范化的绝对路径名
realpath_cache_get Get realpath cache entries
realpath_cache_size Get realpath cache size
recode 别名 recode_string
recode_file Recode from file to file according to recode request
recode_string Recode a string according to a recode request
register_shutdown_function Register a function for execution on shutdown
快速导航

Copyright © 2016 phpStudy | 皖ICP备18014864号-4