php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #43869 [PATCH] spl_autoload_register docs sentence unclear
Submitted: 2008-01-16 18:38 UTC Modified: 2008-02-09 15:19 UTC
From: olle dot jonsson at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: olle dot jonsson at gmail dot com
New email:
PHP Version: OS:

 

 [2008-01-16 18:38 UTC] olle dot jonsson at gmail dot com
Description:
------------
The following docs sentence is missing a word:

"If your code has an existing __autoload function then this function 
must explicitly registered on the __autoload stack."

Should probably be:

"If your code has an existing __autoload function then this function 
must be explicitly registered on the __autoload stack."






Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-02-09 14:58 UTC] olle dot jonsson at gmail dot com
Index: en/reference/spl/functions/spl-autoload-register.xml
===================================================================
RCS file: /repository/phpdoc/en/reference/spl/functions/spl-autoload-
register.xml,v
retrieving revision 1.8
diff -u -r1.8 spl-autoload-register.xml
--- en/reference/spl/functions/spl-autoload-register.xml        23 Jan 
2008 19:06:10 -0000      1.8
+++ en/reference/spl/functions/spl-autoload-register.xml        9 Feb 
2008 12:38:46 -0000
@@ -20,7 +20,7 @@
   </para>
   <para>
    If your code has an existing __autoload function then this 
function must
-   explicitly registered on the __autoload stack. This is because
+   be explicitly registered on the __autoload stack. This is because
    spl_autoload_register() will effectively replace the engine cache 
for
    the __autoload function by either spl_autoload() or 
spl_autoload_call().
   </para>
 [2008-02-09 15:19 UTC] colder@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.

Thanks for the patch
 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of colder
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=43a6dca993adbd001be7fb75e5b6257dfd59078e
Log: Fix #43869 (wording, patch by olleolleolle)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 08:01:33 2024 UTC