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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
12 + 19 = ?
Subscribe to this entry?

 
 [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: Thu May 02 07:01:30 2024 UTC