summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorColin O'Dell <colinodell@gmail.com>2019-10-21 17:22:04 -0400
committerNikita Popov <nikita.ppv@gmail.com>2019-10-23 11:22:12 +0200
commite7335eb420e40d2226fbf1c2b573875323667560 (patch)
tree20a1c59dbb337e8f255ce3a5eeaa69529b4771b3 /UPGRADING
parent80103bdb78544495d6a34cbd75fac25492832a95 (diff)
downloadphp-git-e7335eb420e40d2226fbf1c2b573875323667560.tar.gz
Allow array_splice() length to be null
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING3
1 files changed, 3 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 40af9ca458..41cab54f1e 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -275,6 +275,9 @@ PHP 8.0 UPGRADE NOTES
iconv_substr() can now be null. Null values will behave as if no length
argument was provided and will therefore return the remainder of the string
instead of an empty string.
+ . The length argument for array_splice() can now be null. Null values will
+ behave identically to omitting the argument, thus removing everything from
+ the 'offset' to the end of the array.
. The 'salt' option of password_hash() is no longer supported. If the 'salt'
option is used a warning is generated, the provided salt is ignored, and a
generated salt is used instead.