Commit 4dece754719 for php

commit 4dece7547190100457b4f62ef0a4e68c2cf826cc
Author: Shivam Mathur <shivam_jpr@hotmail.com>
Date:   Mon Nov 2 23:48:19 2026 +0530

    Preserve PATH in filter OOM tests for Windows ASan (#25163)

diff --git a/ext/filter/tests/oom_filter_default_encoded.phpt b/ext/filter/tests/oom_filter_default_encoded.phpt
index 4e81326639a..c8f9ef8d0bd 100644
--- a/ext/filter/tests/oom_filter_default_encoded.phpt
+++ b/ext/filter/tests/oom_filter_default_encoded.phpt
@@ -38,6 +38,8 @@ function oom_post_encoded(string $body, string $script): void
             'CONTENT_LENGTH'  => (string) strlen($body),
             'SCRIPT_FILENAME' => $script,
             'REDIRECT_STATUS' => '1',
+            /* PATH is needed to find ASan DLLs (and maybe others) on Windows */
+            'PATH'           => getenv('PATH'),
         ]
     );
     fwrite($pipes[0], $body);
diff --git a/ext/filter/tests/oom_filter_input.phpt b/ext/filter/tests/oom_filter_input.phpt
index aef71dff563..a59e882533a 100644
--- a/ext/filter/tests/oom_filter_input.phpt
+++ b/ext/filter/tests/oom_filter_input.phpt
@@ -33,6 +33,8 @@
         'CONTENT_LENGTH'  => (string) strlen($body),
         'SCRIPT_FILENAME' => $script,
         'REDIRECT_STATUS' => '1',
+        /* PATH is needed to find ASan DLLs (and maybe others) on Windows */
+        'PATH'           => getenv('PATH'),
     ]
 );
 fwrite($pipes[0], $body);
diff --git a/ext/filter/tests/oom_filter_input_array.phpt b/ext/filter/tests/oom_filter_input_array.phpt
index a8e2712271c..b317d86bee2 100644
--- a/ext/filter/tests/oom_filter_input_array.phpt
+++ b/ext/filter/tests/oom_filter_input_array.phpt
@@ -33,6 +33,8 @@
         'CONTENT_LENGTH'  => (string) strlen($body),
         'SCRIPT_FILENAME' => $script,
         'REDIRECT_STATUS' => '1',
+        /* PATH is needed to find ASan DLLs (and maybe others) on Windows */
+        'PATH'           => getenv('PATH'),
     ]
 );
 fwrite($pipes[0], $body);