note 57347 added to function.socket-select

From: Date: Fri, 30 Sep 2005 23:15:12 +0000
Subject: note 57347 added to function.socket-select
Groups: php.notes 
Request: Send a blank email to php-notes+get-96105@lists.php.net to get a copy of this message
Note that the resulting arrays do NOT maintain keys (PHP 4.3.2) after being run through this function: Before: Array ( [Client_Socket] => Resource id #6 [Server_Socket] => Resource id #9 ) After: Array ( [0] => Resource id #6 [1] => Resource id #9 ) It would have been nice to have the keys stay to figure out which stream you need to receive from, but you'll have to use some fancy foreach loop to figure out which sockets to check. ---- Manual Page -- http://www.php.net/manual/en/function.socket-select.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57347 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57347&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57347&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57347&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57347&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57347&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57347&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57347&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57347&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#96105) next »