ID: 35900 User updated by: sqchen at citiz dot net Reported By: sqchen at citiz dot net -Status: No Feedback +Status: Open Bug Type: Streams related Operating System: redhat 7.3 PHP Version: 5.1.1 New Comment:
sorry for my late response, I have tried the cvs version http://snaps.php.net/php5.1-latest.tar.gz, and the problem remains as before Previous Comments: ------------------------------------------------------------------------ [2006-01-15 01:00:03] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2006-01-05 10:05:56] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip ------------------------------------------------------------------------ [2006-01-05 03:39:51] sqchen at citiz dot net Description: ------------ int stream_select ( array &read, array &write, array &except, int tv_sec [, int tv_usec] ) when tv_sec= -1, tv_usec=6000000, it should warning, not wait 5 seconds. Reproduce code: --------------- <?php $read = array(STDIN); if($num_changed_streams = stream_select($read, $write=NULL , $except = NULL, -1,6000000)) { echo "Pass"; } else { echo "Fail"; } ?> Expected result: ---------------- warning: Invalid argument (max_fd=0) Actual result: -------------- wait 5 seconds for input ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35900&edit=1