get_loaded_extensions() should list Zend extensions

Request #41278 get_loaded_extensions() should list Zend extensions
Submitted: 2007-05-04 07:44 UTC Modified: 2007-07-31 22:48 UTC
From: judas dot iscariote at gmail dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 5CVS-2007-05-04 (snap) OS: Irrelevant
Private report: No CVE-ID: None

 [2007-05-04 07:44 UTC] judas dot iscariote at gmail dot com

Description:
------------
Will be nice if a method ( maybe bool isZendExtension()) can be added to ReflectionExtension that can help to determine if an extension is a zend_extension, currenly the only way I Found is parsing the output of the the [Zend Modules] section executing php -m in the command line ( a really horrible hack ;) )



Reproduce code:
---------------
Not applicable

Expected result:
----------------
A method to do this implemented

Actual result:
--------------
not implemented.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2007-05-04 09:31 UTC] judas dot iscariote at gmail dot com

as discussed on IRC, Im chaging this request.. will be nice if a:

ReflectionZendExtension extends Reflection class and/or get_zend_extensions() function is provided to obtain either complete information from zend_extensions or at least a simple get_loaded_extensions() like function that returns only the loaded zend_extensions.

 [2007-07-31 22:48 UTC] johannes@php.net

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.