<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Removes a previously installed callback handler and restores terminal settings</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.readline-callback-handler-install.html">readline_callback_handler_install</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.readline-callback-read-char.html">readline_callback_read_char</a></div> <div class="up"><a href="ref.readline.html">Readline Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.readline-callback-handler-remove" class="refentry"> <div class="refnamediv"> <h1 class="refname">readline_callback_handler_remove</h1> <p class="verinfo">(PHP 5 >= 5.1.0)</p><p class="refpurpose"><span class="refname">readline_callback_handler_remove</span> — <span class="dc-title">Removes a previously installed callback handler and restores terminal settings</span></p> </div> <div class="refsect1 description" id="refsect1-function.readline-callback-handler-remove-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>readline_callback_handler_remove</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Removes a previously installed callback handler and restores terminal settings. </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.readline-callback-handler-remove-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> if a previously installed callback handler was removed, or <strong><code>FALSE</code></strong> if one could not be found. </p> </div> <div class="refsect1 examples" id="refsect1-function.readline-callback-handler-remove-examples"> <h3 class="title">Examples</h3> <p class="para"> See <span class="function"><a href="function.readline-callback-handler-install.html" class="function">readline_callback_handler_install()</a></span> for an example of how to use the readline callback interface. </p> </div> <div class="refsect1 seealso" id="refsect1-function.readline-callback-handler-remove-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.readline-callback-handler-install.html" class="function" rel="rdfs-seeAlso">readline_callback_handler_install()</a> - Initializes the readline callback interface and terminal, prints the prompt and returns immediately</span></li> <li class="member"> <span class="function"><a href="function.readline-callback-read-char.html" class="function" rel="rdfs-seeAlso">readline_callback_read_char()</a> - Reads a character and informs the readline callback interface when a line is received</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.readline-callback-handler-install.html">readline_callback_handler_install</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.readline-callback-read-char.html">readline_callback_read_char</a></div> <div class="up"><a href="ref.readline.html">Readline Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>