ID: 46024 User updated by: mike at silverorange dot com Reported By: mike at silverorange dot com -Status: Feedback +Status: Open Bug Type: Streams related Operating System: linux PHP Version: 5.2.6 New Comment:
The test also fails on the provided snapshot. Previous Comments: ------------------------------------------------------------------------ [2008-09-08 18:58:14] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ [2008-09-08 14:33:47] mike at silverorange dot com Description: ------------ The stream_select function should return the number of streams ready in the read and write arrays. Sometimes it does and sometimes it doesn't. Reproduce code: --------------- http://labs.silverorange.com/files/stream-select-bug/ Expected result: ---------------- selecting ... got 2 Array ( [0] => Resource id #5 ) Array ( [0] => Resource id #6 ) selecting ... got 2 Array ( [0] => Resource id #5 ) Array ( [0] => Resource id #6 ) Actual result: -------------- selecting ... got 2 Array ( [0] => Resource id #5 ) Array ( [0] => Resource id #6 ) selecting ... got 1 Array ( [0] => Resource id #5 ) Array ( [0] => Resource id #6 ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46024&edit=1
