From: Máté Kocsis Date: Wed, 22 Jan 2020 22:24:28 +0000 (+0100) Subject: Add UPGRADING notes [skip ci] X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4281c2a989f09c0133c319c30df65cabc5d88b1a;p=php Add UPGRADING notes [skip ci] --- diff --git a/UPGRADING b/UPGRADING index 8cb84a52c8..97f8197f93 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.