[php-src] PHP-8.6: Merge branch 'PHP-8.4' into PHP-8.5
| From: | Shivam Mathur | Date: | Mon, 02 Nov 2026 18:19:15 +0000 |
| Subject: | [php-src] PHP-8.6: Merge branch 'PHP-8.4' into PHP-8.5 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143227@lists.php.net to get a copy of this message | ||
Author: Shivam Mathur (shivammathur)
Date: 2026-11-02T23:48:37+05:30
Commit: https://github.com/php/php-src/commit/c6f843008a47e38e7c2efda99e1f0c44771a2db0
Raw diff: https://github.com/php/php-src/commit/c6f843008a47e38e7c2efda99e1f0c44771a2db0.diff
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
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);