English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
(PHP 5)
curl_multi_select — Wait for active connections in all CURL batch processes
int curl_multi_select ( resource $mh [, float $timeout = 1.0 ] )
Blocks until there is an active connection in the CURL batch connection.
mh
CURL multiple handles returned by curl_multi_init().
timeout
Time to wait for a response in seconds.
Returns the number of descriptors in the descriptor set when successful. When failed, the return value is-1Otherwise, a timeout is returned (from the underlying select system call).