php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #42221 spl_autoload_register parameter type
Submitted: 2007-08-06 14:51 UTC Modified: 2007-08-16 08:57 UTC
From: oliver dot saunders at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: oliver dot saunders at gmail dot com
New email:
PHP Version: OS:

 

 [2007-08-06 14:51 UTC] 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] )

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-16 08:57 UTC] vrana@php.net
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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Aug 05 05:00:02 2025 UTC