Readline variables and their function can be found here: https://tiswww.case.edu/php/chet/readline/readline.html#Readline-Variables(PHP 4, PHP 5, PHP 7, PHP 8)
readline_info — 获取/设置各种 readline 内部变量
获取/设置各种 readline 内部变量。
var_name变量名。
value如果提供,将是设置的新值。
   如果调用时没有参数,此函数将返回 readline 使用的所有设置的值组成的数组。元素将按照以下值进行索引
   done、end、erase_empty_line、library_version、line_buffer、mark、pending_input、point、prompt、readline_name、和 terminal_name。
   array 仅包含库用于编译 readline 扩展支持的元素。
  
如果使用一个或两个参数调用,则返回原来的值。
| 版本 | 说明 | 
|---|---|
| 8.0.0 | var_name和value现在可为 null。 | 
Readline variables and their function can be found here: https://tiswww.case.edu/php/chet/readline/readline.html#Readline-Variables