php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51661 Confusing text in spl_autoload_unregister
Submitted: 2010-04-25 21:32 UTC Modified: 2010-05-04 12:36 UTC
From: jacob at jacobweber dot com Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N//A
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jacob at jacobweber dot com
New email:
PHP Version: OS:

 

 [2010-04-25 21:32 UTC] jacob at jacobweber dot com
Description:
------------
The documentation states:

"When this function results in the autoload stack being activated an existing 
__autoload function will not be reactivated."

Shouldn't this read:

"When this function results in the autoload stack being DEACTIVATED, an existing 
__autoload function will not be reactivated."

I don't think spl_autoload_unregister can result in the stack becoming activated.

Test script:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-04 12:31 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: aharvey
 [2010-05-04 12:36 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=298960
Log: Fix doc bug #51661 (Confusing text in spl_autoload_unregister).
 [2010-05-04 12:36 UTC] aharvey@php.net
-Status: Assigned +Status: Closed -Type: Bug +Type: Documentation Problem
 [2010-05-04 12:36 UTC] aharvey@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-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 13:00:02 2026 UTC