Skip to content

Commit fc04966

Browse files
committed
Add NEWS and UPGRADING for sendmail error handling changes
1 parent 6a75612 commit fc04966

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ PHP NEWS
261261
. Added array_first() and array_last(). (nielsdos)
262262
. Fixed bug GH-18823 (setlocale's 2nd and 3rd argument ignores strict_types).
263263
(nielsdos)
264+
. Fixed exit code handling of sendmail cmd and added warnings.
265+
(Jesse Hathaway)
264266

265267
- Streams:
266268
. Fixed bug GH-16889 (stream_select() timeout useless for pipes on Windows).

UPGRADING

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,12 @@ PHP 8.5 UPGRADE NOTES
217217
Sqlite3Stmt::EXPLAIN_MODE_EXPLAIN and
218218
Sqlite3Stmt::EXPLAIN_MODE_EXPLAIN_QUERY_PLAN.
219219

220+
- Standard:
221+
. mail() now returns the actual sendmail error and detects if the sendmail
222+
process was terminated unexpectedly. In such cases, a warning is emitted
223+
and the function returns false. Previously, these errors were silently
224+
ignored. This change affects only the sendmail transport.
225+
220226
- XSL:
221227
. The $namespace argument of XSLTProcessor::getParameter(),
222228
XSLTProcessor::setParameter() and XSLTProcessor::removeParameter()

0 commit comments

Comments
 (0)