$prm = file_get_contents('http://test.com');
$cvgbb = $prm;
ini_set('default_socket_timeout', 10);
$options = stream_context_create([
'http' =>
[
'timeout' => 10
]
]);
$content = file_get_contents('http://example.com', false, $options);