#43869 [Opn]: [PATCH] spl_autoload_register docs sentence unclear

From: Date: Sat, 09 Feb 2008 14:58:38 +0000
Subject: #43869 [Opn]: [PATCH] spl_autoload_register docs sentence unclear
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-507@lists.php.net to get a copy of this message
ID: 43869 User updated by: olle dot jonsson at gmail dot com -Summary: spl_autoload_register docs sentence unclear Reported By: olle dot jonsson at gmail dot com Status: Open Bug Type: Documentation problem PHP Version: Irrelevant New Comment: 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> Previous Comments: ------------------------------------------------------------------------ [2008-01-16 18:38:40] 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." ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43869&edit=1

« previous php.doc.bugs (#507) next »