<HTML ><HEAD ><TITLE >readline_info</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="GNU Readline" HREF="ref.readline.html"><LINK REL="PREVIOUS" TITLE="readline_completion_function" HREF="function.readline-completion-function.html"><LINK REL="NEXT" TITLE="readline_list_history" HREF="function.readline-list-history.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.readline-completion-function.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.readline-list-history.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.readline-info" ></A >readline_info</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN80654" ></A ><P > (PHP 4 )</P >readline_info -- Gets/sets various internal readline variables</DIV ><DIV CLASS="refsect1" ><A NAME="AEN80657" ></A ><H2 >Description</H2 >mixed <B CLASS="methodname" >readline_info</B > ( [string varname [, string newvalue]])<BR ></BR ><P > 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. </P ><P > If called with one parameter, the value of that setting is returned. If called with two parameters, the setting will be changed to the given value. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.readline-completion-function.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.readline-list-history.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >readline_completion_function</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.readline.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >readline_list_history</TD ></TR ></TABLE ></DIV ></BODY ></HTML >