mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: gh15937.phpt does not need to be an online test
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
--TEST--
|
||||
GH-15937 (stream overflow on timeout setting)
|
||||
--SKIPIF--
|
||||
<?php if (getenv("SKIP_ONLINE_TESTS")) die("skip online test"); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
$config = [
|
||||
'http' => [
|
||||
'timeout' => PHP_INT_MAX,
|
||||
],
|
||||
];
|
||||
$ctx = stream_context_create($config);
|
||||
var_dump(fopen("http://www.example.com", "r", false, $ctx));
|
||||
?>
|
||||
--EXPECTF--
|
||||
resource(%d) of type (stream)
|
||||
Reference in New Issue
Block a user