|
readline_callback_handler_installInitializes the readline callback interface and terminal, prints the prompt and returns immediately Description
true readline_callback_handler_install(string
$prompt, callable $callback)
Sets up a readline callback interface then prints
The callback feature is useful when combined with stream_select as it allows interleaving of IO and user input, unlike readline. Parameters
Return Values
Always returns Examples
Example #1 Readline Callback Interface Example See Also
|