php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #62305 spl_autoload_register implements queue, docs say stack
Submitted: 2012-06-12 23:29 UTC Modified: 2015-04-16 11:41 UTC
From: eric at wepay dot com Assigned: requinix (profile)
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: eric at wepay dot com
New email:
PHP Version: OS:

 

 [2012-06-12 23:29 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-15 14:18 UTC] ppaisndud at gmail dot com
Believe this can be closed
 [2015-04-16 11:41 UTC] requinix@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: requinix
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 12:00:01 2026 UTC