Commit 9495ff7e1e0 for php

commit 9495ff7e1e05d6ecf235842bde5a7c0c69f10aee
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date:   Tue Dec 1 20:02:24 2026 +0100

    Fix curl_setopt_CURLOPT_FOLLOWLOCATION.phpt

    This test was broken as Caddyfile didn't actually contain a redirect. I'm
    honestly not sure why this isn't failing in CI right now. Specify a more
    concrete test expecatation while we're at it.

    Closes GH-26002

diff --git a/ext/curl/tests/Caddyfile b/ext/curl/tests/Caddyfile
index f6f4279af89..836938fe68c 100644
--- a/ext/curl/tests/Caddyfile
+++ b/ext/curl/tests/Caddyfile
@@ -7,6 +7,8 @@ localhost

 respond / "Caddy is up and running"

+redir /redirect /
+
 # HTTP/2 Server Push
 respond /serverpush "main response"
 respond /serverpush/pushed "pushed response"
diff --git a/ext/curl/tests/curl_setopt_CURLOPT_FOLLOWLOCATION.phpt b/ext/curl/tests/curl_setopt_CURLOPT_FOLLOWLOCATION.phpt
index 85af9b5319e..7144be42ee3 100644
--- a/ext/curl/tests/curl_setopt_CURLOPT_FOLLOWLOCATION.phpt
+++ b/ext/curl/tests/curl_setopt_CURLOPT_FOLLOWLOCATION.phpt
@@ -23,13 +23,12 @@
 	var_dump(curl_exec($ch));
 }
 ?>
---EXPECTF--
+--EXPECT--
 bool(true)
-string(%d) "%s"
+string(0) ""
 bool(true)
-string(%d) "%s"
+string(23) "Caddy is up and running"
 bool(true)
-string(%d) "%s"
+string(23) "Caddy is up and running"
 bool(true)
-string(%d) "%s"
-
+string(23) "Caddy is up and running"