projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
prepare v4.2.5
[m6w6/ext-http]
/
tests
/
client021.phpt
diff --git
a/tests/client021.phpt
b/tests/client021.phpt
index f262a7ac7c4c9f64d58f693b1d9293efb0a4184b..f8eeeb5911d45caed5e4846eb5df1459bdac62e4 100644
(file)
--- a/
tests/client021.phpt
+++ b/
tests/client021.phpt
@@
-4,6
+4,10
@@
client cookies
<?php
include "skipif.inc";
skip_client_test();
<?php
include "skipif.inc";
skip_client_test();
+if (0 === strpos(http\Client\Curl\Versions\CURL, "7.64.0") ||
+ 0 === strpos(http\Client\Curl\Versions\CURL, "7.88.1")) {
+ die("skip - cookie handling broken or crashes with libcurl v" . http\Client\Curl\Versions\CURL ."\n");
+}
?>
--FILE--
<?php
?>
--FILE--
<?php
@@
-16,7
+20,7
@@
function dump() {
global $tmpfile, $section;
printf("# %s\n", $section);
foreach (file($tmpfile) as $line) {
global $tmpfile, $section;
printf("# %s\n", $section);
foreach (file($tmpfile) as $line) {
- if ($line
{0}
=== "#" || $line === "\n") {
+ if ($line
[0]
=== "#" || $line === "\n") {
continue;
}
printf("%s:\t%s", $tmpfile, $line);
continue;
}
printf("%s:\t%s", $tmpfile, $line);