[php-src] PR #25739: Fix GH-25737: mb_send_mail() ignores $additional_params
| From: | thunderer | Date: | Wed, 25 Nov 2026 13:14:52 +0000 |
| Subject: | [php-src] PR #25739: Fix GH-25737: mb_send_mail() ignores $additional_params | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40996@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25739
Author: thunderer
Fixes GH-25737.
b621f80dce5 replaced
zend_ini_str_ex() with zend_ini_str_literal() in
mb_send_mail(). For a setting without a value, zend_ini_str_literal()
returns an empty string instead of NULL, so an unset
mail.force_extra_parameters replaced $additional_params with an empty
string.
This restores the previous call, so an explicitly empty mail.force_extra_parameters
still replaces $additional_params, as in PHP 8.5. The test fails without the change.