Merge branch 'PHP-8.4'

This commit is contained in:
Shivam Mathur 2025-06-25 03:23:03 +05:30
commit 9adc94985f
No known key found for this signature in database
GPG key ID: 3E13E4C8591ACC2A
7 changed files with 24 additions and 0 deletions

View file

@ -4,6 +4,9 @@ Bug #40770 (Apache child exits when PHP memory limit reached)
memory_limit=8M memory_limit=8M
--SKIPIF-- --SKIPIF--
<?php <?php
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
die("xfail fails on Windows Server 2022 and newer.");
}
$zend_mm_enabled = getenv("USE_ZEND_ALLOC"); $zend_mm_enabled = getenv("USE_ZEND_ALLOC");
if ($zend_mm_enabled === "0") { if ($zend_mm_enabled === "0") {
die("skip Zend MM disabled"); die("skip Zend MM disabled");

View file

@ -2,6 +2,9 @@
GH-12073: Freeing of non-ZMM pointer of incompletely allocated closure GH-12073: Freeing of non-ZMM pointer of incompletely allocated closure
--SKIPIF-- --SKIPIF--
<?php <?php
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
die("xfail fails on Windows Server 2022 and newer.");
}
if (getenv("USE_ZEND_ALLOC") === "0" && getenv("USE_TRACKED_ALLOC") !== "1") { if (getenv("USE_ZEND_ALLOC") === "0" && getenv("USE_TRACKED_ALLOC") !== "1") {
die("skip Zend MM disabled"); die("skip Zend MM disabled");
} }

View file

@ -1,5 +1,11 @@
--TEST-- --TEST--
GH-13177 (PHP 8.3.2: final private constructor not allowed when used in trait) GH-13177 (PHP 8.3.2: final private constructor not allowed when used in trait)
--SKIPIF--
<?php
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
die("xfail fails on Windows Server 2022 and newer.");
}
?>
--FILE-- --FILE--
<?php <?php

View file

@ -2,6 +2,9 @@
Timeout within while loop Timeout within while loop
--SKIPIF-- --SKIPIF--
<?php <?php
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
die("xfail fails on Windows Server 2022 and newer.");
}
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
?> ?>
--FILE-- --FILE--

View file

@ -2,6 +2,9 @@
Timeout within for loop Timeout within for loop
--SKIPIF-- --SKIPIF--
<?php <?php
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
die("xfail fails on Windows Server 2022 and newer.");
}
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
?> ?>
--FILE-- --FILE--

View file

@ -2,6 +2,9 @@
Testing register_shutdown_function() with timeout. (Bug: #21513) Testing register_shutdown_function() with timeout. (Bug: #21513)
--SKIPIF-- --SKIPIF--
<?php <?php
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
die("xfail fails on Windows Server 2022 and newer.");
}
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
?> ?>
--FILE-- --FILE--

View file

@ -2,6 +2,9 @@
Bug #45392 (ob_start()/ob_end_clean() and memory_limit) Bug #45392 (ob_start()/ob_end_clean() and memory_limit)
--SKIPIF-- --SKIPIF--
<?php <?php
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
die("xfail fails on Windows Server 2022 and newer.");
}
if (getenv("USE_ZEND_ALLOC") === "0") { if (getenv("USE_ZEND_ALLOC") === "0") {
die("skip Zend MM disabled"); die("skip Zend MM disabled");
} }