summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/bug62890.phpt
blob: b400b0e5ef741f7ce503b57e6c6c0ca19cc94482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Bug #62890 (default_socket_timeout=-1 causes connection to timeout)
--SKIPIF--
<?php
if (!extension_loaded('openssl')) die('skip openssl extension not available');
if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
?>
--INI--
default_socket_timeout=-1
--FILE--
<?php
var_dump((bool) file_get_contents('https://php.net'));
?>
--EXPECT--
bool(true)