Edit report at http://bugs.php.net/bug.php?id=34972&edit=1

 ID:                 34972
 Comment by:         support at aculane dot com
 Reported by:        VJTD3 at VJTD3 dot com
 Summary:            STDIN won't allow nonblocking.
 Status:             Assigned
 Type:               Bug
 Package:            Streams related
 Operating System:   win32 only
 PHP Version:        5.2CVS-2008-07-15
 Assigned To:        pajoye
 Block user comment: N
 Private report:     N

 New Comment:

PHP 5.3 (5.3.4) VC9 x86 Thread Safe (2010-Dec-09 23:14:27) windows
7(64bit os)



Exact same problem.


Previous Comments:
------------------------------------------------------------------------
[2010-12-24 10:14:21] lgynove at 163 dot com

5 years after the bug should not be there.

------------------------------------------------------------------------
[2010-10-02 17:25:14] axellc dot perso at gmail dot com

Have same problem with 5.3.3 on windows (7) 

I still can't use my php5-cli shell applications on Windows :s

------------------------------------------------------------------------
[2010-08-31 13:13:26] me at ben-xo dot com

Experiencing this issue on Win 32 with PHP 5.3.2.
stream_set_blocking(STDIN, 0) 

('correctly') returns false and does not allow non-blocking. Also
experiencing 

issues using stream_select() on STDIN. STDIN always comes back as ready
for 

reading, but reading from it blocks.

------------------------------------------------------------------------
[2010-02-26 01:47:14] joseph at none-yo-business dot com

Hope this helps someone else, but the workaround I had to do was to
fread(stdin) from another script, output to a temp file, then use output
in my other script. 



Yeah its ugly, but at least I have an interactive shell (or should that
be shells :)



Dear PHP developers. I love php. Its the glue that holds everything I do
together.... Please take this in the best way possible, WTF? This bug
should not be there... And 4 years after the fact?! Please help me love
PHP even more, and fix this bug.

------------------------------------------------------------------------
[2009-11-14 15:31:44] raskin at aoeu dot ru

Confirmed on Nov 14th, 2009 with PHP 5.2.11 on WinXp

Yet no useful fix. Linux (Ubuntu 9.10 is just fine)

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=34972


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=34972&edit=1

Reply via email to