Input/Keyboard.php
/**
     * Clears any buffered bytes on STDIN.
     *
     * @access protected
     * @return void
     */
Clears any buffered bytes on STDIN.
@access protected
@return void
Clears any buffered bytes on STDIN . @access protected @return void
protected function _clear()
    {
        $read    = array(STDIN);
        $write   = NULL;
        $exclude = NULL;
        stream_select($read, $write, $exclude, 0);
        stream_set_blocking(STDIN, 0);
        stream_get_contents(STDIN, -1);
    }
protected function _clear ( ) { $ read = array ( STDIN ) ; $ write = NULL ; $ exclude = NULL ; stream_select ( $ read , $ write , $ exclude , 0 ) ; stream_set_blocking ( STDIN , 0 ) ; stream_get_contents ( STDIN , - 1 ) ; }
Clears any buffered bytes on STDIN.
Clears any buffered bytes on STDIN .