|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
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:
 [2007-05-04 07:44 UTC] judas dot iscariote at gmail dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-04 09:09 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

The Zend extensions and PHP modules are different things. We have no way to link between these two things.
 [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]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Sat Nov 28 18:01:31 2015 UTC