summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-11-04 13:02:28 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-11-04 13:10:03 +0100
commitc46b2ed677aecfc2f07993eefad0326f31c5cc44 (patch)
tree0f22bad82fd6d7c812e1e5f94059fb54485e05bf /UPGRADING
parent31f12541827b88fce62c887ea9de3ae6665a421c (diff)
downloadphp-git-c46b2ed677aecfc2f07993eefad0326f31c5cc44.tar.gz
Remove support for array_key_exists() with objects
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING2
1 files changed, 2 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 0bf9bccf43..1412162b6f 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -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