1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 14:42:49 +02:00

Merge branch 'PHP-7.3' into PHP-7.4

This commit is contained in:
Jakub Zelenka
2020-11-27 16:33:47 +00:00

View File

@@ -9,7 +9,8 @@ if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
default_socket_timeout=-1
--FILE--
<?php
var_dump((bool) file_get_contents('https://php.net'));
$clientCtx = stream_context_create(['ssl' => ['verify_peer' => false]]);
var_dump((bool) file_get_contents('https://www.php.net', false, $clientCtx));
?>
--EXPECT--
bool(true)