|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60754 autoloader for extensions :D
Submitted: 2012-01-14 17:33 UTC Modified: 2016-10-14 16:03 UTC
Avg. Score:2.8 ± 1.1
Reproduced:5 of 8 (62.5%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: valentiny510 at yahoo dot es Assigned: cmb (profile)
Status: Closed Package: PHP options/info functions
PHP Version: 5.4.0RC5 OS: windows
Private report: No CVE-ID: None
 [2012-01-14 17:33 UTC] valentiny510 at yahoo dot es
Yes ! Why not ? Everybody this days are crazy about autoloaders (spl &co) and they build applications around this ... anyway..

it will be nice to have an autoloader into the php.ini like

autoload_extensions = "On"

and not have the xxx lines with all extensions we want
extension = 1.dll
extension = 300.dll

Ok you got the point.. SeeYa


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-10-14 16:03 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-10-14 16:03 UTC]
An extension autoloader would have the same issues as dl() plus
some more. However, dl() has already been removed from most SAPIs
as of PHP 5.3.0 due to stability issues.

So this is very unlikely to be ever implemented.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jul 29 12:01:23 2021 UTC