PHP 4.0 Bug #2541 Updated: dl(string name) should not require the file extension for the module name

From: Date: Sun, 11 Feb 2001 18:18:00 +0000
Subject: PHP 4.0 Bug #2541 Updated: dl(string name) should not require the file extension for the module name
Groups: php.dev 
Request: Send a blank email to php-dev+get-46384@lists.php.net to get a copy of this message
ID: 2541 Updated by: cynic Reported By: yves@realnames.com Status: Open Bug Type: Feature/Change Request Assigned To: Comments: dl() doesn't work in multithreaded servers anyway (pretty much all win32 webservers) Previous Comments: --------------------------------------------------------------------------- [2001-02-10 13:50:22] jimw@php.net refiling against 4.0. PEAR may end up needing something similar when it supports extensions with non-php components. --------------------------------------------------------------------------- [1999-10-16 03:43:42] yves@realnames.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: dl("extension") and have it be extension.so on Linux and Solaris for example, and extension.dll on Windows. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=2541&edit=2

« previous php.dev (#46384) next »