<?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
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);