1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Add NEWS and UPGRADING for sendmail error handling changes

This commit is contained in:
Jakub Zelenka
2025-06-24 12:30:35 +02:00
parent 6a7561203d
commit fc04966c36
2 changed files with 8 additions and 0 deletions

2
NEWS
View File

@@ -261,6 +261,8 @@ PHP NEWS
. Added array_first() and array_last(). (nielsdos)
. Fixed bug GH-18823 (setlocale's 2nd and 3rd argument ignores strict_types).
(nielsdos)
. Fixed exit code handling of sendmail cmd and added warnings.
(Jesse Hathaway)
- Streams:
. Fixed bug GH-16889 (stream_select() timeout useless for pipes on Windows).

View File

@@ -217,6 +217,12 @@ PHP 8.5 UPGRADE NOTES
Sqlite3Stmt::EXPLAIN_MODE_EXPLAIN and
Sqlite3Stmt::EXPLAIN_MODE_EXPLAIN_QUERY_PLAN.
- Standard:
. mail() now returns the actual sendmail error and detects if the sendmail
process was terminated unexpectedly. In such cases, a warning is emitted
and the function returns false. Previously, these errors were silently
ignored. This change affects only the sendmail transport.
- XSL:
. The $namespace argument of XSLTProcessor::getParameter(),
XSLTProcessor::setParameter() and XSLTProcessor::removeParameter()