#29169 [Opn]: get_extension_funcs() support for non-lowercase names
| From: | derick@php.net | Date: | Thu, 15 Jul 2004 09:42:26 +0000 |
| Subject: | #29169 [Opn]: get_extension_funcs() support for non-lowercase names | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969361868@lists.php.net to get a copy of this message | ||
ID: 29169
Updated by: derick@php.net
Reported By: fdsoft at pganet dot com
Status: Open
-Bug Type: Feature/Change Request
+Bug Type: Documentation problem
Operating System: Mac OS X 10.3.4
PHP Version: 5.0.0
New Comment:
This is correct behavior, making it a documentation issue.
Previous Comments:
------------------------------------------------------------------------
[2004-07-15 00:15:06] fdsoft at pganet dot com
Description:
------------
get_extension_funcs() only seems to work for all
lowercase module names, while get_loaded_extensions()
now returns some capitalized names.
Examples are SPL, SQLite, SimpleXML.
Back in 5.0.0RC1, all there of these were returned by
get_loaded_extensions() in lowercase, as "spl" "sqlite"
and "simplexml". This has changed since then.
Reproduce code:
---------------
<?php
var_dump(get_extension_funcs("SQLite"));
// displays: bool (false);
var_dump(get_extension_funcs("sqlite"));
// displays: the expected list of functions
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29169&edit=1