#49798 [Opn->Csd]: Doc for ReflectionClass::isInstance is wrong
| From: | vrana@php.net | Date: | Fri, 13 Nov 2009 21:18:35 +0000 |
| Subject: | #49798 [Opn->Csd]: Doc for ReflectionClass::isInstance is wrong | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3136@lists.php.net to get a copy of this message | ||
ID: 49798
Updated by: vrana@php.net
Reported By: kristof dot coomans at telenet dot be
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2009-11-13 21:18:11] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=290701
Log: Object is instance of class (fixes #49798)
------------------------------------------------------------------------
[2009-10-07 06:15:38] kristof dot coomans at telenet dot be
Description:
------------
http://be2.php.net/manual/en/reflectionclass.isinstance.php
"ReflectionClass::isInstance â Checks class for instance
public bool ReflectionClass::isInstance ( string $object )
Checks if a class is an instance of an object."
To me it looks like the documentation is wrong. How can a class be an
instance of an object?
I think it must be: checks if an object (argument $object) is an
instance of the class represented by the ReflectionClass.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49798&edit=1