Skip to content

Commit f041c13

Browse files
committed
Update NEWS/UPGRADING for ++ on string deprecation
1 parent 93716be commit f041c13

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ PHP NEWS
2121
references). (Arnaud, timwolla)
2222
. Introduced the TAILCALL VM, enabled by default when compiling with Clang>=19
2323
on x86_64 or aarch64. (Arnaud)
24+
. Enacted the follow-up phase of the "Path to Saner Increment/Decrement
25+
operators" RFC, meaning that incrementing non-numeric strings is now
26+
deprecated. (Girgias).
2427

2528
- Filter:
2629
. Added support for configuring the URI parser for FILTER_VALIDATE_URL

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,10 @@ PHP 8.5 UPGRADE NOTES
356356
. Constant redeclaration is deprecated and that behavior will trigger an
357357
error in PHP 9.
358358
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_constant_redeclaration
359+
. Enacted the follow-up phase of the "Path to Saner Increment/Decrement
360+
operators" RFC, meaning that incrementing non-numeric strings is now
361+
deprecated. Instead the str_increment() function should be used.
362+
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#enact_follow-up_phase_of_the_path_to_saner_incrementdecrement_operators_rfc
359363

360364
- Curl:
361365
. The curl_close() function has been deprecated, as CurlHandle objects are

0 commit comments

Comments
 (0)