diff --git a/examples/multi_curl_track_success_urls.php b/examples/multi_curl_track_success_urls.php index aeb730d..7060c43 100644 --- a/examples/multi_curl_track_success_urls.php +++ b/examples/multi_curl_track_success_urls.php @@ -64,65 +64,63 @@ $request_stats['not_completed'] = array_diff($request_stats['all'], $request_sta // Display results. var_dump($request_stats); -/* -$ php multi_curl_track_success_urls.php -array(5) { - ["all"]=> - array(8) { - [0]=> - string(30) "https://httpbin.org/status/503" - [1]=> - string(30) "https://httpbin.org/status/200" - [2]=> - string(30) "https://httpbin.org/status/401" - [3]=> - string(27) "https://httpbin.org/delay/3" - [4]=> - string(30) "https://httpbin.org/status/201" - [5]=> - string(27) "https://httpbin.org/delay/1" - [6]=> - string(30) "https://httpbin.org/status/500" - [7]=> - string(30) "https://httpbin.org/status/504" - } - ["successful"]=> - array(3) { - [0]=> - string(30) "https://httpbin.org/status/200" - [1]=> - string(27) "https://httpbin.org/delay/3" - [2]=> - string(30) "https://httpbin.org/status/201" - } - ["errors"]=> - array(2) { - [0]=> - string(30) "https://httpbin.org/status/503" - [1]=> - string(30) "https://httpbin.org/status/401" - } - ["completed"]=> - array(5) { - [0]=> - string(30) "https://httpbin.org/status/200" - [1]=> - string(30) "https://httpbin.org/status/503" - [2]=> - string(30) "https://httpbin.org/status/401" - [3]=> - string(27) "https://httpbin.org/delay/3" - [4]=> - string(30) "https://httpbin.org/status/201" - } - ["not_completed"]=> - array(3) { - [5]=> - string(27) "https://httpbin.org/delay/1" - [6]=> - string(30) "https://httpbin.org/status/500" - [7]=> - string(30) "https://httpbin.org/status/504" - } -} -*/ +// $ php multi_curl_track_success_urls.php +// array(5) { +// ["all"]=> +// array(8) { +// [0]=> +// string(30) "https://httpbin.org/status/503" +// [1]=> +// string(30) "https://httpbin.org/status/200" +// [2]=> +// string(30) "https://httpbin.org/status/401" +// [3]=> +// string(27) "https://httpbin.org/delay/3" +// [4]=> +// string(30) "https://httpbin.org/status/201" +// [5]=> +// string(27) "https://httpbin.org/delay/1" +// [6]=> +// string(30) "https://httpbin.org/status/500" +// [7]=> +// string(30) "https://httpbin.org/status/504" +// } +// ["successful"]=> +// array(3) { +// [0]=> +// string(30) "https://httpbin.org/status/200" +// [1]=> +// string(27) "https://httpbin.org/delay/3" +// [2]=> +// string(30) "https://httpbin.org/status/201" +// } +// ["errors"]=> +// array(2) { +// [0]=> +// string(30) "https://httpbin.org/status/503" +// [1]=> +// string(30) "https://httpbin.org/status/401" +// } +// ["completed"]=> +// array(5) { +// [0]=> +// string(30) "https://httpbin.org/status/200" +// [1]=> +// string(30) "https://httpbin.org/status/503" +// [2]=> +// string(30) "https://httpbin.org/status/401" +// [3]=> +// string(27) "https://httpbin.org/delay/3" +// [4]=> +// string(30) "https://httpbin.org/status/201" +// } +// ["not_completed"]=> +// array(3) { +// [5]=> +// string(27) "https://httpbin.org/delay/1" +// [6]=> +// string(30) "https://httpbin.org/status/500" +// [7]=> +// string(30) "https://httpbin.org/status/504" +// } +// }