From e7335eb420e40d2226fbf1c2b573875323667560 Mon Sep 17 00:00:00 2001 From: Colin O'Dell Date: Mon, 21 Oct 2019 17:22:04 -0400 Subject: Allow array_splice() length to be null --- UPGRADING | 3 +++ 1 file changed, 3 insertions(+) (limited to 'UPGRADING') 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. -- cgit v1.2.1