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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: yves at realnames dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 17:01:33 2025 UTC