From 7effcab2cf016aea08de5239b07bef9132974416 Mon Sep 17 00:00:00 2001 From: Sharad Chandran R Date: Mon, 29 Dec 2025 19:19:21 +0530 Subject: [PATCH] Fix variable assignment for PHP argument escaping in `run-tests.php` (#20799) --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index a06f0958d1b1e..266d352260200 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1861,8 +1861,8 @@ function run_test(string $php, $file, array $env): string $skipCache = new SkipCache($enableSkipCache, $cfg['keep']['skip']); } - $orig_php = $php; $php = escapeshellarg($php); + $orig_php = $php; $retried = false; retry: