Sending POST request using PHP
I'm trying to send about 5000 HTTP POST request using PHP in an hour and get a JSON data as response for each one. Already I know these following four ways:

 1. POSTing from PHP Curl
 2. POSTing from Pecl_Http
 3. POSTing from Pecl_Http: the OO interface
 4. POSTing from file_get_contents

My problem is I don't know which one should I use in case of best performance.

 - Would you please explain pros and cons of each way?
 - Are there any other ways?
 - How can I POST in parallel? Of course I need each response.

Thank you in advance.
Sending POST request using PHP
===

I'm trying to send about 5000 HTTP POST request using PHP in an hour and get a JSON data as response for each one. Already I know these following four ways:

 1. POSTing from PHP Curl
 2. POSTing from Pecl_Http
 3. POSTing from Pecl_Http: the OO interface
 4. POSTing from file_get_contents

My problem is I don't know which one should I use in case of best performance.

 - Would you please explain pros and cons of each way?
 - Are there any other ways?
 - How can I POST in parallel? Of course I need each response.

Thank you in advance.