projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'RELEASE_0_24_0'.
[m6w6/ext-http]
/
tests
/
exceptions.phpt
diff --git
a/tests/exceptions.phpt
b/tests/exceptions.phpt
index af48fde1e705c39f445b5a25b227c6e27ad69ab4..1febe33275e33ab9737d1a507c4fc217194fa6eb 100644
(file)
--- a/
tests/exceptions.phpt
+++ b/
tests/exceptions.phpt
@@
-3,7
+3,7
@@
exceptions
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
-check
ver
(5);
+check
min
(5);
?>
--FILE--
<?php
?>
--FILE--
<?php
@@
-34,11
+34,6
@@
foreach ($e as $i => $c) {
printf("%2d: %s\n", $i, get_class($x));
}
}
printf("%2d: %s\n", $i, get_class($x));
}
}
-try {
- $tmp = http_get(null);
-} catch (HttpRequestException $x) {
- printf("%s (%d)\n", $x->getMessage(), $x->getCode());
-}
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
@@
-55,5
+50,4
@@
echo "Done\n";
10: HttpSocketException
11: HttpResponseException
12: HttpUrlException
10: HttpSocketException
11: HttpResponseException
12: HttpUrlException
-Could not perform request: URL using bad/illegal format or missing URL (8)
Done
Done