Doc #62305 [Com]: spl_autoload_register implements queue, docs say stack
| From: | ppaisndud at gmail dot com | Date: | Wed, 15 Apr 2015 14:18:19 +0000 |
| Subject: | Doc #62305 [Com]: spl_autoload_register implements queue, docs say stack | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12160@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62305&edit=1
ID: 62305
Comment by: ppaisndud at gmail dot com
Reported by: eric at wepay dot com
Summary: spl_autoload_register implements queue, docs say
stack
Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Believe this can be closed
Previous Comments:
------------------------------------------------------------------------
[2012-06-12 23:29:47] eric at wepay dot com
Description:
------------
---
From manual page: http://www.php.net/function.spl-autoload-register#refsect1-
function.spl-autoload-register-description
---
The documentation for spl_autoload_register repeatedly refers to the autoload
stack, yet the actual implementation appears to be in a queue (see
https://bugs.php.net/bug.php?id=42823). While an
optional third parameter was
added to the function allowing developers to implement either behavior (and
correctly describes it as a queue), the docs are inconsistent in this matter.
I recommend replacing all instances of "stack" with "queue" on the documentation
page.
Test script:
---------------
n/a, documentation problem
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62305&edit=1