Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

readline_callback_read_char

Description

The readline_callback_read_char of Readline for PHP reads a character and informs the readline callback interface when a line is received.

Syntax

readline_callback_read_char(): void

Return

No value is returned.

Examples

1

<?

function myfunction($input)
{
    var_export($input);
}

$prompt = "myprompt";
$callback = "myfunction";

readline_callback_handler_install($prompt, $callback);
readline_callback_read_char();

?>
NULL
HomeMenu