|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #2541 dl(string name) should not require the file extension for the module name
Submitted: 1999-10-16 03:43 UTC Modified: 2002-08-17 15:53 UTC
From: yves at realnames dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.0 OS: Linux 2.2.12 / Windows NT
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.
Block user comment
Status: Assign to:
Bug Type:
From: yves at realnames dot com
New email:
PHP Version: OS:


 [1999-10-16 03:43 UTC] yves at realnames dot com
The subject says it all. Since dl() requires the module filename with its extension, and since extensions differ on platforms, it makes writing scripts using dl() a pain.

If PHP would check for the name as given, and then with a a system-specific extension, one could write:


and have it be on Linux and Solaris for example, and extension.dll on Windows.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 13:50 UTC]
refiling against 4.0. PEAR may end up needing something similar when it supports extensions with non-php components.
 [2001-02-11 13:18 UTC]
dl() doesn't work in multithreaded servers anyway (pretty much all win32 webservers)
 [2002-08-17 15:53 UTC]
Hmm... but the extensions in *nix systems mean nothing.
I can rename my module to
Bogusifying, baby.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 24 01:03:38 2021 UTC