/* Prepare the read array * / $read = array( $stream1, $stream2); if (false === ($num_changed_streams = stream_select($read, $write = NULL, $except = NULL, 0))) {/ * Error handling * / else if ($num_changed_streams 0) {/ * At least on one of the streams something interesting happened * /}
?php / * Preparation du tableau de fl ocirc; ts lecture * / $read = array($stream1, $stream2); if (false === ($num_changed_streams = stream_select($read, $write = NULL, $except = NULL, 0))) {/ * Gestion d'erreur * / else if ($num_changed_streams 0) {/ * Au moins un des fl ocirc;ts a eacute;volu eacute; * /}?