1--TEST-- 2GH-15937 (stream overflow on timeout setting) 3--SKIPIF-- 4<?php if (getenv("SKIP_ONLINE_TESTS")) die("skip online test"); ?> 5--FILE-- 6<?php 7$config = [ 8 'http' => [ 9 'timeout' => PHP_INT_MAX, 10 ], 11]; 12$ctx = stream_context_create($config); 13var_dump(fopen("http://www.example.com", "r", false, $ctx)); 14?> 15--EXPECTF-- 16resource(%d) of type (stream) 17