note 50920 added to function.stream-select
| From: | phpdoc at shemesh dot biz | Date: | Mon, 14 Mar 2005 09:33:10 +0000 |
| Subject: | note 50920 added to function.stream-select | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86386@lists.php.net to get a copy of this message | ||
Please note that, on return, the key of "read" will be zero based, serially numbered
according to the streams for which there is read data ready only. In other words, if you want to
know which of the original streams placed in "read" is ready, there is no immediate way of
knowing that.
If you want to know which of the original stream is which, you can either use "==", or
possibly set a reverse map array, in which the stream is the key, and the key to the original
"read" array is the data.
----
Manual Page -- http://www.php.net/manual/en/function.stream-select.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50920
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50920&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50920&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50920&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50920&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50920&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50920&report=yes
Search -- http://master.php.net/manage/user-notes.php