?>
--FILE--
<?php
+echo "-TEST\n";
$pool = new HttpRequestPool(
new HttpRequest('http://www.php.net/', HTTP_HEAD),
new HttpRequest('http://pear.php.net/', HTTP_HEAD),
echo "Done\n";
?>
--EXPECTF--
-%shttp://www.php.net/=200:200
+%sTEST
+http://www.php.net/=200:200
http://pear.php.net/=200:200
http://pecl.php.net/=200:200
Done
?>
--FILE--
<?php
+echo "-TEST\n";
$r = new HttpRequest('http://www.google.com', HTTP_GET);
var_dump($r->send());
print_r($r->getResponseInfo());
var_dump(false != strstr($r->getResponseBody(), "Not Implemented"));
?>
--EXPECTF--
-Content-type: text/html
-X-Powered-By: PHP/%s
-
+%sTEST
bool(true)
Array
(