mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.4' into PHP-8.0
This commit is contained in:
commit
a87d620543
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
|
||||||
default_socket_timeout=-1
|
default_socket_timeout=-1
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?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--
|
--EXPECT--
|
||||||
bool(true)
|
bool(true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue