(PHP 4 >= 4.0.7, PHP 5, PECL ncurses:1.0.0)
ncurses_flushinp — Flush keyboard input buffer
Esta função é EXPERIMENTAL. Isso quer dizer que o comportamento desta função e seu nome, incluindo TUDO o que está documentado aqui pode mudar em futuras versões do PHP, SEM QUALQUER NOTIFICAÇÃO. Esteja avisado, e use esta função por sua própria conta e risco.
Throws away any typeahead that has been typed and has not yet been read by your program.
Returns FALSE on success, otherwise TRUE.