php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2540 PHP4 doesn't have bool extension_loaded(string name)
Submitted: 1999-10-16 03:32 UTC Modified: 2000-05-13 11:13 UTC
From: yves at realnames dot com Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.0 Beta 2 OS: Solaris (5.7)
Private report: No CVE-ID: None
 [1999-10-16 03:32 UTC] yves at realnames dot com
PHP4 reports a Fatal error: call to undefined function extension_loaded() on something like this:

if (!extension_loaded("My extension")) {
    dl("module.so");
}

The announcement of PHP4 claims it is downwards compatible, yet this function does not exist...



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-16 03:41 UTC] yves at realnames dot com
PHP4 reports a Fatal error: call to undefined function extension_loaded() on something
like this:

if (!extension_loaded("My extension")) {
   dl("module.so");
}

The announcement of PHP4 claims it is downwards compatible, yet this function does not
exist...


 [2000-05-13 11:13 UTC] sterling at cvs dot php dot net
Its there in PHP4 RC2. 
 [2000-05-13 11:13 UTC] sterling at cvs dot php dot net
Its there in PHP4 RC2. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 09:01:28 2024 UTC