swoole_select

Select the file descriptions which are ready to read/write or error in the eventloop

Description

int swoole_select(
    array &$read_array,
    array &$write_array,
    array &$error_array,
    float $timeout = ?
)

Parameters

read_array

write_array

error_array

timeout

Return Values