diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-02 09:39:15 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-02 09:41:05 +0200 |
commit | d7243ce2912375bbdccda318f754a45825d6195c (patch) | |
tree | 33a33730c0368b4e6e7f839ac159eb1704d975b3 /UPGRADING | |
parent | 902f63486ee06e92b8e7c2c7d1304232b8b79622 (diff) | |
download | php-git-d7243ce2912375bbdccda318f754a45825d6195c.tar.gz |
Add UPGRADING note for substr() behavior
[ci skip]
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |