We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a10037 commit 6857081Copy full SHA for 6857081
ext/openssl/tests/bug62890.phpt
@@ -9,7 +9,8 @@ if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
9
default_socket_timeout=-1
10
--FILE--
11
<?php
12
-var_dump((bool) file_get_contents('https://php.net'));
+$clientCtx = stream_context_create(['ssl' => ['verify_peer' => false]]);
13
+var_dump((bool) file_get_contents('https://www.php.net', false, $clientCtx));
14
?>
15
--EXPECT--
16
bool(true)
0 commit comments