From 4281c2a989f09c0133c319c30df65cabc5d88b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Wed, 22 Jan 2020 23:24:28 +0100 Subject: [PATCH] Add UPGRADING notes [skip ci] --- UPGRADING | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/UPGRADING b/UPGRADING index 8cb84a52c8f..97f8197f937 100644 --- a/UPGRADING +++ b/UPGRADING @@ -43,6 +43,9 @@ PHP 8.0 UPGRADE NOTES of $this. . Removed ability to use array_key_exists() with objects. Use one of isset() or property_exists() instead. + . Made the behavior of array_key_exists() regarding the type of the key + parameter consistent with isset() and normal array access. All key types now use + the usual coercions and array/object keys throw a TypeError. . Any array that has a number n as its first numeric key will use n+1 for its next implicit key. Even if n is negative. RFC: https://wiki.php.net/rfc/negative_array_index @@ -178,6 +181,9 @@ PHP 8.0 UPGRADE NOTES . The deprecated constant INTL_IDNA_VARIANT_2003 has been removed. RFC: https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003 . The deprecated Normalizer::NONE constant has been removed. + . The IntlDateFormatter::RELATIVE_FULL, IntlDateFormatter::RELATIVE_LONG, + IntlDateFormatter::RELATIVE_MEDIUM, and IntlDateFormatter::RELATIVE_SHORT constants + have been added. - LDAP: . The deprecated function ldap_sort has been removed.