Skip to content

Commit 4281c2a

Browse files
committed
Add UPGRADING notes [skip ci]
1 parent 7a52bf2 commit 4281c2a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UPGRADING

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ PHP 8.0 UPGRADE NOTES
4343
of $this.
4444
. Removed ability to use array_key_exists() with objects. Use one of isset()
4545
or property_exists() instead.
46+
. Made the behavior of array_key_exists() regarding the type of the key
47+
parameter consistent with isset() and normal array access. All key types now use
48+
the usual coercions and array/object keys throw a TypeError.
4649
. Any array that has a number n as its first numeric key will use n+1 for
4750
its next implicit key. Even if n is negative.
4851
RFC: https://wiki.php.net/rfc/negative_array_index
@@ -178,6 +181,9 @@ PHP 8.0 UPGRADE NOTES
178181
. The deprecated constant INTL_IDNA_VARIANT_2003 has been removed.
179182
RFC: https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003
180183
. The deprecated Normalizer::NONE constant has been removed.
184+
. The IntlDateFormatter::RELATIVE_FULL, IntlDateFormatter::RELATIVE_LONG,
185+
IntlDateFormatter::RELATIVE_MEDIUM, and IntlDateFormatter::RELATIVE_SHORT constants
186+
have been added.
181187

182188
- LDAP:
183189
. The deprecated function ldap_sort has been removed.

0 commit comments

Comments
 (0)