mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.4'
* PHP-8.4: gh15937.phpt does not need to be an online test
This commit is contained in:
commit
dfdba3cfe4
1 changed files with 0 additions and 16 deletions
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue