php.net |  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: 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

Add a Patch

Pull Requests

Add a Pull Request

History

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

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] 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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 11:01:28 2024 UTC