Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<swoole_load_moduleswoole_set_process_name>
^Swoole FunctionsLast updated: Mon, 26 Oct 2026

swoole_select

(PECL swoole >= 1.9.0)

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

Description

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

Parameters

read_array

write_array

error_array

timeout

Return Values


<swoole_load_moduleswoole_set_process_name>
^Swoole FunctionsLast updated: Mon, 26 Oct 2026