We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35e8cb8 commit f9519ccCopy full SHA for f9519cc
ext/openssl/tests/gh21031.phpt
@@ -65,7 +65,7 @@ $clientCode = <<<'CODE'
65
],
66
]);
67
68
- var_dump(file_get_contents("https://cs.php.net/", false, $clientCtx));
+ var_dump(@file_get_contents("https://cs.php.net/", false, $clientCtx));
69
70
phpt_notify('proxy');
71
phpt_notify('server');
@@ -77,6 +77,5 @@ ServerClientTestCase::getInstance()->run($clientCode, [
77
'proxy' => $proxyCode,
78
79
?>
80
---EXPECTF--
81
-Warning: file_get_contents(https://cs.php.net/): Failed to open stream: Cannot connect to HTTPS server through proxy in %s
+--EXPECT--
82
bool(false)
0 commit comments