Commit f9519ccbb99 for php.net
commit f9519ccbb9975b2afae95a418fae65ad93823dc6
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date: Sat Apr 4 12:40:44 2026 +0200
[ci skip] Silence test warning
diff --git a/ext/openssl/tests/gh21031.phpt b/ext/openssl/tests/gh21031.phpt
index a35fab92727..55694bf7676 100644
--- a/ext/openssl/tests/gh21031.phpt
+++ b/ext/openssl/tests/gh21031.phpt
@@ -65,7 +65,7 @@
],
]);
- var_dump(file_get_contents("https://cs.php.net/", false, $clientCtx));
+ var_dump(@file_get_contents("https://cs.php.net/", false, $clientCtx));
phpt_notify('proxy');
phpt_notify('server');
@@ -77,6 +77,5 @@
'proxy' => $proxyCode,
]);
?>
---EXPECTF--
-Warning: file_get_contents(https://cs.php.net/): Failed to open stream: Cannot connect to HTTPS server through proxy in %s
+--EXPECT--
bool(false)