php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50871 [PATCH] SPL: default value of spl_autoload_extensions() configurable in php.ini
Submitted: 2010-01-28 08:27 UTC Modified: 2021-07-23 12:24 UTC
From: julesvanvelzen at gmail dot com Assigned:
Status: Wont fix Package: SPL related
PHP Version: 5.3.1 OS: any
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: julesvanvelzen at gmail dot com
New email:
PHP Version: OS:

 

 [2010-01-28 08:27 UTC] julesvanvelzen at gmail dot com
Description:
------------
I expected the default value, which is now '.inc,.php', of spl_autoload_extensions() to be configurable in php.ini, just like the include_path. 


Patches

spl.autoload_extensions-take2 (last revision 2010-12-25 12:37 UTC by kalle@php.net)
spl.autoload_extensions (last revision 2010-03-04 12:37 UTC by kalle@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-04 13:39 UTC] kalle@php.net
-Summary: SPL: default value of spl_autoload_extensions() configurable in php.ini +Summary: [PATCH] SPL: default value of spl_autoload_extensions() configurable in php.ini
 [2010-03-04 13:39 UTC] kalle@php.net
I added a patch that adds a new ini directive called spl.autoload_extensions to 
populate spl_autoload_extensions() from php.ini
 [2010-12-14 12:36 UTC] jani@php.net
-Package: Feature/Change Request +Package: SPL related
 [2010-12-25 13:37 UTC] kalle@php.net
The following patch has been added/updated:

Patch Name: spl.autoload_extensions-take2
Revision:   1293280629
URL:        http://bugs.php.net/patch-display.php?bug=50871&patch=spl.autoload_extensions-take2&revision=1293280629
 [2011-05-23 04:10 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: colder
 [2017-10-24 07:25 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: colder +Assigned To:
 [2021-07-23 12:24 UTC] nikic@php.net
-Status: Open +Status: Wont fix
 [2021-07-23 12:24 UTC] nikic@php.net
Explicitly declining this as the spl default autoloader is legacy functionality that will not be extended. Please use a saner autoloader instead (e.g. the one provided by composer).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 06:01:29 2024 UTC