Doc #52996 [Asn->Csd]: Wrong parameter type in ReflectionFunction::_construct()
| From: | rquadling@php.net | Date: | Wed, 06 Oct 2010 10:34:01 +0000 |
| Subject: | Doc #52996 [Asn->Csd]: Wrong parameter type in ReflectionFunction::_construct() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5170@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52996&edit=1
ID: 52996
Updated by: rquadling@php.net
Reported by: heuripedes at gmail dot com
Summary: Wrong parameter type in
ReflectionFunction::_construct()
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: rquadling
Block user comment: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2010-10-06 12:33:46] rquadling@php.net
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=304139
Log: Constructor's parameter supports closures as of PHP5.3.0.
Updated example and added changelog.
Fix bug #52996
------------------------------------------------------------------------
[2010-10-06 00:02:15] heuripedes at gmail dot com
Description:
------------
The documentation page for the __construct() method of
ReflectionFunction says it require a string parameter,
but it actually need a callback parameter. Otherwise
it would not support closure reflection.
http://www.php.net/manual/en/reflectionfunction.construct.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52996&edit=1