diff --git a/NEWS b/NEWS index fcb849ef98a..a5609377683 100644 --- a/NEWS +++ b/NEWS @@ -38,6 +38,8 @@ PHP NEWS . Fixed bug GH-18033 (NULL-ptr dereference when using register_tick_function in destructor). (nielsdos) . Fixed bug GH-18026 (Improve "expecting token" error for ampersand). (ilutov) + . Added the (void) cast to indicate that not using a value is intentional. + (timwolla) - Curl: . Added curl_multi_get_handles(). (timwolla) diff --git a/UPGRADING b/UPGRADING index 274f45d8f40..1f58e462e67 100644 --- a/UPGRADING +++ b/UPGRADING @@ -106,6 +106,9 @@ PHP 8.5 UPGRADE NOTES . Fatal Errors (such as an exceeded maximum execution time) now include a backtrace. RFC: https://wiki.php.net/rfc/error_backtraces_v2 + . Added the (void) to indicate that not using a value is intentional. The + (void) cast does nothing by itself. + RFC: https://wiki.php.net/rfc/marking_return_value_as_important - Curl: . Added support for share handles that are persisted across multiple PHP