Skip to content

Commit

Permalink
Add UPGRADING note for substr() behavior
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
nikic committed Oct 2, 2020
1 parent 902f634 commit d7243ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,9 @@ PHP 8.0 UPGRADE NOTES
. Calling crypt() without an explicit salt is no longer supported. If you
would like to produce a strong hash with an auto-generated salt, use
password_hash() instead.
. substr(), mb_substr(), iconv_substr() and grapheme_substr() now consistently
clamp out-of-bounds offsets to the string boundary. Previously, false was
returned instead of the empty string in some cases.

- Sysvmsg:
. msg_get_queue() will now return an SysvMessageQueue object rather than a
Expand Down

0 comments on commit d7243ce

Please sign in to comment.