|
readline_callback_handler_installInitializes the readline callback interface and terminal, prints the prompt and returns immediately Description
bool 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
Returns Examples
Example #1 Readline Callback Interface Example
<?php See Also
|