Doc #60479 [Com]: Error on documentation
| From: | jakoch at web dot de | Date: | Mon, 12 Dec 2011 11:08:50 +0000 |
| Subject: | Doc #60479 [Com]: Error on documentation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7646@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60479&edit=1
ID: 60479
Comment by: jakoch at web dot de
Reported by: wally dot nm at gmail dot com
Summary: Error on documentation
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: Linux Ubuntu 11.10
PHP Version: 5.3.8
Block user comment: N
Private report: N
New Comment:
Please take a look at the "Changelog" section of
http://br2.php.net/array_key_exists
Since 5.3 the array_key_exist() function doesn't work with objects anymore,
property_exists() should be used in this case.
So i think what you are looking for is already documented, isn't it?
Previous Comments:
------------------------------------------------------------------------
[2011-12-11 21:50:02] nikic@php.net
Where does it say that it can be used with objects? In the Changelog it sais "This function
doesn't work with objects anymore, property_exists() should be used in this case." so I
imagine you *can't* use it with objects anymore ;)
------------------------------------------------------------------------
[2011-12-09 12:35:31] wally dot nm at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.array-key-exists#refsect1-
function.array-key-exists-description
---
On the documentation, at this link: http://br2.php.net/array_key_exists
are saying that array_key_exist could be used with objects, but on other page (i
din't find it) on the PHP docs, are saying that on the 5.0 version it can't used
with objects, instead you would use property_exist...
It isn't a a bug on the PHP core, it's on the docs, because don't have any advice
on this page, saying about PHP changes...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60479&edit=1