update : 2015.11.03
php.shukuma.com검색:
|
curl_multi_info_read(PHP 5, PHP 7) curl_multi_info_read — Get information about the current transfers 설명
array curl_multi_info_read
( resource
$mh
[, int &$msgs_in_queue = NULL
] )Ask the multi handle if there are any messages or information from the individual transfers. Messages may include information such as an error code from the transfer or just the fact that a transfer is completed.
Repeated calls to this function will return a new result each time, until a Warning
The data the returned resource points to will not survive calling curl_multi_remove_handle(). 인수
반환값
On success, returns an associative array for the message,
예제
Example #1 A curl_multi_info_read() example
<?php 위 예제의 출력 예시: array(3) { ["msg"]=> int(1) ["result"]=> int(0) ["handle"]=> resource(5) of type (curl) } array(3) { ["msg"]=> int(1) ["result"]=> int(0) ["handle"]=> resource(7) of type (curl) } array(3) { ["msg"]=> int(1) ["result"]=> int(0) ["handle"]=> resource(6) of type (curl) } bool(false) 변경점
|