note 77260 added to function.stream-select
| From: | bluej100 at gmail | Date: | Tue, 21 Aug 2007 23:31:09 +0000 |
| Subject: | note 77260 added to function.stream-select | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129685@lists.php.net to get a copy of this message | ||
@mbaynton at gmail dot com
A handy syntactic trick:
<?php
$r = Array($stream1, $stream2);
stream_select($r, $w = null, $x = null, 1337);
?>
I've seen it recommended elsewhere in the documentation for clarifying magic arguments so
maintainers don't have to go check the function itself, but it also solves your problem here.
----
Server IP: 208.69.120.35
Probable Submitter: 63.253.43.10
----
Manual Page -- http://www.php.net/manual/en/function.stream-select.php
Edit -- https://master.php.net/note/edit/77260
Del: integrated -- https://master.php.net/note/delete/77260/integrated
Del: useless -- https://master.php.net/note/delete/77260/useless
Del: bad code -- https://master.php.net/note/delete/77260/bad+code
Del: spam -- https://master.php.net/note/delete/77260/spam
Del: non-english -- https://master.php.net/note/delete/77260/non-english
Del: in docs -- https://master.php.net/note/delete/77260/in+docs
Del: other reasons-- https://master.php.net/note/delete/77260
Reject -- https://master.php.net/note/reject/77260
Search -- https://master.php.net/manage/user-notes.php