← All docs
stream_select()
Runs the equivalent of the select() system call on the given arrays of streams.
stream_select()
function stream_select(array $read, array $write, array $except, int $seconds, int $microseconds = 0): int
Runs the equivalent of the select() system call on the given arrays of streams.
Parameters:
$read(array), passed by reference$write(array), passed by reference$except(array), passed by reference$seconds(int)$microseconds(int), default0, optional
Returns: int
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how stream_select is implemented in the compiler, see the internals page.