Skip to content

Commit a2c5b4e

Browse files
committed
Fix phpGH-14307: Test curl_basic_024 fails with curl 8.8.0
Curl changed the behaviour, from the changelog: - lib: make protocol handlers store scheme name lowercase curl/curl@c294f9c From the docs: "The returned scheme might be upper or lowercase. Do comparisons case insensitively." Closes phpGH-14312.
1 parent 4da4610 commit a2c5b4e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? ????, PHP 8.2.21
44

5+
- Curl:
6+
. Fixed bug GH-14307 (Test curl_basic_024 fails with curl 8.8.0). (nielsdos)
7+
58
- Opcache:
69
. Fixed bug GH-14267 (opcache.jit=off does not allow enabling JIT at runtime).
710
(ilutov)

ext/curl/tests/curl_basic_024.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var_dump(0 === curl_getinfo($ch, CURLINFO_PROXY_SSL_VERIFYRESULT));
2525
var_dump(curl_getinfo($ch, CURLINFO_SCHEME));
2626
curl_close($ch);
2727
?>
28-
--EXPECT--
28+
--EXPECTF--
2929
bool(true)
3030
bool(true)
31-
string(4) "HTTP"
31+
string(4) "%r(HTTP|http)%r"

0 commit comments

Comments
 (0)