diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-11-04 13:02:28 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-11-04 13:10:03 +0100 |
| commit | c46b2ed677aecfc2f07993eefad0326f31c5cc44 (patch) | |
| tree | 0f22bad82fd6d7c812e1e5f94059fb54485e05bf /UPGRADING | |
| parent | 31f12541827b88fce62c887ea9de3ae6665a421c (diff) | |
| download | php-git-c46b2ed677aecfc2f07993eefad0326f31c5cc44.tar.gz | |
Remove support for array_key_exists() with objects
Diffstat (limited to 'UPGRADING')
| -rw-r--r-- | UPGRADING | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -41,6 +41,8 @@ PHP 8.0 UPGRADE NOTES method, using Closure::fromCallable() or ReflectionMethod::getClosure(). . Also removed ability to unbind $this from proper closures that contain uses of $this. + . Removed ability to use array_key_exists() with objects. Use one of isset() + or property_exists() instead. . 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 |
