summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-02 09:39:15 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-10-02 09:41:05 +0200
commitd7243ce2912375bbdccda318f754a45825d6195c (patch)
tree33a33730c0368b4e6e7f839ac159eb1704d975b3 /UPGRADING
parent902f63486ee06e92b8e7c2c7d1304232b8b79622 (diff)
downloadphp-git-d7243ce2912375bbdccda318f754a45825d6195c.tar.gz
Add UPGRADING note for substr() behavior
[ci skip]
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING3
1 files changed, 3 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 05c8eef1e9..0c15b1ecbe 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -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