readline_callback_read_char

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

<?

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

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

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

?>
NULL

readline

readline_add_history

readline_callback_handler_install

readline_callback_handler_remove

readline_clear_history

readline_completion_function

readline_info

readline_list_history

readline_on_new_line

readline_read_history

readline_redisplay

readline_write_history

PHP

Home Menu