From f041c13c94ce905ea200ed1e4f93ab5fbd7d2825 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Sat, 23 Aug 2025 15:40:15 +0200 Subject: [PATCH] Update NEWS/UPGRADING for ++ on string deprecation --- NEWS | 3 +++ UPGRADING | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/NEWS b/NEWS index 21390d1cca1..35f4d174a5f 100644 --- a/NEWS +++ b/NEWS @@ -21,6 +21,9 @@ PHP NEWS references). (Arnaud, timwolla) . Introduced the TAILCALL VM, enabled by default when compiling with Clang>=19 on x86_64 or aarch64. (Arnaud) + . Enacted the follow-up phase of the "Path to Saner Increment/Decrement + operators" RFC, meaning that incrementing non-numeric strings is now + deprecated. (Girgias). - Filter: . Added support for configuring the URI parser for FILTER_VALIDATE_URL diff --git a/UPGRADING b/UPGRADING index 809b5d01fc0..02cdca916c1 100644 --- a/UPGRADING +++ b/UPGRADING @@ -356,6 +356,10 @@ PHP 8.5 UPGRADE NOTES . Constant redeclaration is deprecated and that behavior will trigger an error in PHP 9. RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_constant_redeclaration + . Enacted the follow-up phase of the "Path to Saner Increment/Decrement + operators" RFC, meaning that incrementing non-numeric strings is now + deprecated. Instead the str_increment() function should be used. + RFC: https://wiki.php.net/rfc/deprecations_php_8_5#enact_follow-up_phase_of_the_path_to_saner_incrementdecrement_operators_rfc - Curl: . The curl_close() function has been deprecated, as CurlHandle objects are