diff --git a/reference/array/functions/array-key-exists.xml b/reference/array/functions/array-key-exists.xml
index f458eccb24..cca9b8621e 100644
--- a/reference/array/functions/array-key-exists.xml
+++ b/reference/array/functions/array-key-exists.xml
@@ -105,13 +105,12 @@ array_key_exists('first', $search_array);
For backward compatibility reasons, array_key_exists
will also return &true; if key is a property
defined within an object given as
- array. This behaviour should not be relied upon,
- and care should be taken to ensure that array is
- an array.
+ array. This behaviour is deprecated as of PHP 7.4.0,
+ and removed as of PHP 8.0.0.
- To check whether a property exists in an object, use
- property_exists.
+ To check whether a property exists in an object,
+ property_exists should be used.
diff --git a/reference/array/functions/each.xml b/reference/array/functions/each.xml
index 014019f996..9f0eeacd71 100644
--- a/reference/array/functions/each.xml
+++ b/reference/array/functions/each.xml
@@ -14,7 +14,7 @@
&reftitle.description;
arrayeach
- arrayarray
+ arrayobjectarray
Return the current key and value pair from an array and advance the array