[php-src] master: Merge branch 'PHP-8.6'
| From: | Shivam Mathur | Date: | Mon, 02 Nov 2026 18:19:18 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.6' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143229@lists.php.net to get a copy of this message | ||
Author: Shivam Mathur (shivammathur)
Date: 2026-11-02T23:48:55+05:30
Commit: https://github.com/php/php-src/commit/14bb5921277526a954599ff20293e89ed3900bf0
Raw diff: https://github.com/php/php-src/commit/14bb5921277526a954599ff20293e89ed3900bf0.diff
Merge branch 'PHP-8.6'
* PHP-8.6:
Preserve PATH in filter OOM tests for Windows ASan (#25163)
Changed paths:
M ext/filter/tests/oom_filter_default_encoded.phpt
M ext/filter/tests/oom_filter_input.phpt
M ext/filter/tests/oom_filter_input_array.phpt
Diff:
diff --git a/ext/filter/tests/oom_filter_default_encoded.phpt
b/ext/filter/tests/oom_filter_default_encoded.phpt
index eb63678a68d7..e8013ce1e24b 100644
--- a/ext/filter/tests/oom_filter_default_encoded.phpt
+++ b/ext/filter/tests/oom_filter_default_encoded.phpt
@@ -39,6 +39,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 68d56072f227..4b3b995fa914 100644
--- a/ext/filter/tests/oom_filter_input.phpt
+++ b/ext/filter/tests/oom_filter_input.phpt
@@ -33,6 +33,8 @@ $p = proc_open(
'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 b36261f1dd59..acb88a6e0da0 100644
--- a/ext/filter/tests/oom_filter_input_array.phpt
+++ b/ext/filter/tests/oom_filter_input_array.phpt
@@ -33,6 +33,8 @@ $p = proc_open(
'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);