On 16 Dec 2001 [EMAIL PROTECTED] wrote:

> Please search bug database before report.
> This has been reported ;)

What was the other bugreport number? It helps a lot if you would add that
in the future.

regards,
Derick

>
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2001-12-15 15:38:19] [EMAIL PROTECTED]
>
> fgetc should have at least the option of returning a single charachter immediatly 
>upon its entry, or another function should be defined (such as getchar()) that 
>achieves similar functionality to fgetc(stdin) which return a single charachter 
>immediatly.
>
> The following script allows the user to type more than a single charachter and only 
>returns when the user hits enter. fgetc should simply block until a single charachter 
>is entered and then return.
>
> This is missing functionality that can not be worked around easily as far as I can 
>tell.
>
> Script:
>
> $fp = fopen("php://stdin", "r");
> $char = fgetc($fp);
> echo $char;
>
>
>
> ------------------------------------------------------------------------
>
>
>
> Edit this bug report at http://bugs.php.net/?id=14537&edit=1
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to