Commit d5d2e14c118 for php
commit d5d2e14c11841d9df32b4b5394f7080faec6fbd9
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date: Thu Dec 3 19:16:52 2026 +0100
[skip ci] Amend to 09bb5f545fe4113c77190e70cdc1b9b1a8d0c093
Same is needed for pcntl_setcpuaffinity()...
diff --git a/ext/opcache/tests/gh24319_001.phpt b/ext/opcache/tests/gh24319_001.phpt
index 9db5a36ed3f..56753a8b2d7 100644
--- a/ext/opcache/tests/gh24319_001.phpt
+++ b/ext/opcache/tests/gh24319_001.phpt
@@ -79,7 +79,7 @@
if (function_exists('pcntl_getcpuaffinity') && function_exists('pcntl_setcpuaffinity')) {
$cpus = @pcntl_getcpuaffinity();
if ($cpus) {
- pcntl_setcpuaffinity(null, [$cpus[$reader % count($cpus)]]);
+ @pcntl_setcpuaffinity(null, [$cpus[$reader % count($cpus)]]);
}
}
pcntl_alarm(60);