From b47434c5b2fd699e2bf11eef81bc21c653204f3c Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Tue, 2 Sep 2008 13:33:29 +0000 Subject: [PATCH] array-key-exists.xml git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265831 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../array/functions/array-key-exists.xml | 31 +++++++++++++++++-- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/reference/array/functions/array-key-exists.xml b/reference/array/functions/array-key-exists.xml index 683f00deb4..c2ce8c7271 100644 --- a/reference/array/functions/array-key-exists.xml +++ b/reference/array/functions/array-key-exists.xml @@ -1,5 +1,5 @@ - + array_key_exists @@ -17,8 +17,7 @@ array_key_exists returns &true; if the given key is set in the array. key can be any value possible - for an array index. array_key_exists also works - on objects. + for an array index. @@ -53,6 +52,31 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.3.0 + + This function doesn't work with objetcs anymore, + property_exists() should be used in this case. + + + + + + + + &reftitle.examples; @@ -106,6 +130,7 @@ array_key_exists('first', $search_array); isset array_keys in_array + property_exists