[php-src] master: Merge branch 'PHP-8.5'
Ilija Tovilo <[email protected]>
| Newsgroups | gmane.comp.php.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
Author: Ilija Tovilo (iluuu1994)
Date: 2026-07-07T11:02:51+02:00
Commit: https://github.com/php/php-src/commit/c28199fab6ead9f4449ab9fbc37b52ee44961902
Raw diff: https://github.com/php/php-src/commit/c28199fab6ead9f4449ab9fbc37b52ee44961902.diff
Merge branch 'PHP-8.5'
* PHP-8.5:
Fix performance of gh22443.phpt
Changed paths:
M ext/opcache/tests/jit/gh22443.phpt
Diff:
diff --git a/ext/opcache/tests/jit/gh22443.phpt b/ext/opcache/tests/jit/gh22443.phpt
index 869329b79b5c..4baa3f99fc61 100644
--- a/ext/opcache/tests/jit/gh22443.phpt
+++ b/ext/opcache/tests/jit/gh22443.phpt
@@ -45,7 +45,7 @@ for ($k = 0; $k < 8; $k++) {
$cold = [makeListener([$svc, 'coldMethod'])];
$s = 0;
-for ($i = 0; $i < 4000000; $i++) {
+for ($i = 0; $i < 400; $i++) {
$s += invokeListeners($warm, 'e', [$i & 7, ($i >> 2) & 7]);
}
for ($j = 0; $j < 5; $j++) {