|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-05 10:05 UTC] sniper@php.net
[2006-01-15 01:00 UTC] php-bugs at lists dot php dot net
[2006-02-23 03:26 UTC] sqchen at citiz dot net
[2006-02-23 19:28 UTC] iliaa@php.net
[2006-04-19 08:36 UTC] sqchen at citiz dot net
[2006-04-19 08:44 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 04:00:02 2025 UTC |
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