Skip to content

Instantly share code, notes, and snippets.

@gilbitron
gilbitron / curl-multi-test.php
Last active June 17, 2024 12:24
Testing 95 regular curl_exec requests vs curl_multi_exec requests
<?php
$sites = [
'http://www.google.com/',
'http://www.facebook.com/',
'http://www.youtube.com/',
'http://www.yahoo.com/',
'http://www.live.com/',
'http://www.wikipedia.org/',
'http://www.baidu.com/',