Commit 8b03a99f877 for php
commit 8b03a99f877e9b93748ab7259792885328b04814
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date: Sun Nov 1 12:30:22 2026 +0100
Fix deprecation warn in test
diff --git a/sapi/cli/tests/gh9670.phpt b/sapi/cli/tests/gh9670.phpt
index 2df588db372..a84bc9713f0 100644
--- a/sapi/cli/tests/gh9670.phpt
+++ b/sapi/cli/tests/gh9670.phpt
@@ -9,7 +9,7 @@
$php = getenv('TEST_PHP_EXECUTABLE_ESCAPED');
-foreach (explode("\n", `$php -n -h`) as $line) {
+foreach (explode("\n", shell_exec("$php -n -h")) as $line) {
if (preg_match('/^ -[Cq] /', $line)) {
echo $line, "\n";
}