Merge branch 'PHP-8.4'

* PHP-8.4:
  gh15937.phpt does not need to be an online test
This commit is contained in:
Christoph M. Becker 2025-01-01 20:08:57 +01:00
commit dfdba3cfe4
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6

View file

@ -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)