Home > PHP > Function > cURL > curl_multi_info_read()

curl_multi_info_read()

curl_multi_info_read - Get information about the current transfers

Syntax

array curl_multi_info_read (resource $mh, int &$msgs_in_queue)

Arguments

  • mh - A cURL multi handle returned by curl_multi_init().
  • msgs_in_queue - Number of messages that are still in the queue

Description

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.

Version

PHP 5

Return value

On success, returns an associative array for the message, FALSE on failure.