Commit 486c09cd689 for php.net
commit 486c09cd689046c4ef4dc89c6b2eac76995a0017
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date: Sun Mar 22 01:54:55 2026 +0100
[skip ci] Harden bug74093.phpt
Rarely fails with "Maximum execution time of 1 seconds exceeded" due to being
too fast. Increase the compared arrays and mark as FLAKY, given this is
inherently dependent on processing speed.
diff --git a/Zend/tests/bug74093.phpt b/Zend/tests/bug74093.phpt
index d9adfeefa50..d38d6e5109c 100644
--- a/Zend/tests/bug74093.phpt
+++ b/Zend/tests/bug74093.phpt
@@ -1,5 +1,6 @@
--TEST--
Bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log)
+--FLAKY--
--SKIPIF--
<?php
if (!getenv('RUN_RESOURCE_HEAVY_TESTS')) die('skip resource-heavy test');
@@ -13,8 +14,8 @@
hard_timeout=1
--FILE--
<?php
-$a1 = range(1, 2000000);
-$a2 = range(100000, 2999999);
+$a1 = range(1, 3000000);
+$a2 = range(100000, 3999999);
array_intersect($a1, $a2);
?>
--EXPECTF--