#42221 [Opn->Csd]: spl_autoload_register parameter type
| From: | vrana@php.net | Date: | Thu, 16 Aug 2007 08:57:12 +0000 |
| Subject: | #42221 [Opn->Csd]: spl_autoload_register parameter type | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969377373@lists.php.net to get a copy of this message | ||
ID: 42221
Updated by: vrana@php.net
Reported By: oliver dot saunders at gmail dot com
-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:
------------------------------------------------------------------------
[2007-08-06 14:51:51] oliver dot saunders at gmail dot com
Description:
------------
http://php.net/spl_autoload_register says that
the function accepts a
mixed parameter when it is in fact a callback. If this is not the case
it is unclear and the function description should be revised.
A link to information about the callback type would probably be useful
as well.
Expected result:
----------------
bool spl_autoload_register ( [callback $autoload_function] )
Actual result:
--------------
bool spl_autoload_register ( [mixed $autoload_function] )
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42221&edit=1