} catch (HttpRequestPoolException $x) {
var_dump(count($x->exceptionStack));
}
-
-try {
- $p = new HttpRequestPool(new HttpRequest);
-} catch (HttpRequestPoolException $x) {
- var_dump(count($x->exceptionStack));
-}
-
-try {
- $p = new HttpRequestPool(new HttpRequest, new HttpRequest);
-} catch (HttpRequestPoolException $x) {
- var_dump(count($x->exceptionStack));
-}
-
echo "Done\n";
?>
--EXPECTF--
%sTEST
-int(1)
-int(2)
-int(1)
int(2)
+int(4)
Done