Skip to content

Commit 4662a8c

Browse files
committed
Merge branch 'PHP-8.0'
2 parents 16795a2 + a87d620 commit 4662a8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/openssl/tests/bug62890.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
99
default_socket_timeout=-1
1010
--FILE--
1111
<?php
12-
var_dump((bool) file_get_contents('https://php.net'));
12+
$clientCtx = stream_context_create(['ssl' => ['verify_peer' => false]]);
13+
var_dump((bool) file_get_contents('https://www.php.net', false, $clientCtx));
1314
?>
1415
--EXPECT--
1516
bool(true)

0 commit comments

Comments
 (0)