Doc #53490 [Opn->Asn]: ReflectionClass::__construct() documentation incorrect

From: Date: Tue, 07 Dec 2010 02:24:52 +0000
Subject: Doc #53490 [Opn->Asn]: ReflectionClass::__construct() documentation incorrect
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5633@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53490&edit=1 ID: 53490 Updated by: aharvey@php.net Reported by: php at elyobo dot net Summary: ReflectionClass::__construct() documentation incorrect -Status: Open +Status: Assigned Type: Documentation Problem Package: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: aharvey Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2010-12-06 23:51:49] php at elyobo dot net Description: ------------ The documentation for the ReflectionClass construction incorrectly indicates that the argument should be of type string; this is incorrect, as the system works correct with either a string or Object. The documentation should indicate that the type is "mixed" and should provide an explanation that either the name of the target class or an instance of the target class can be used. The documentation in question is available at http://www.php.net/manual/en/reflectionclass.construct.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53490&edit=1

« previous php.doc.bugs (#5633) next »