Skip to content

Commit 77f2c4e

Browse files
authored
Fix variable assignment for PHP argument escaping
1 parent ecbdd2b commit 77f2c4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1821,8 +1821,8 @@ function run_test(string $php, $file, array $env): string
18211821
$skipCache = new SkipCache($enableSkipCache, $cfg['keep']['skip']);
18221822
}
18231823

1824-
$orig_php = $php;
18251824
$php = escapeshellarg($php);
1825+
$orig_php = $php;
18261826

18271827
$retried = false;
18281828
retry:

0 commit comments

Comments
 (0)