_sockets as $s) { $s->processRead(); } } public function add($sock) { $this->_sockets[] = new Socket($sock); } } ?>