php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #29169 get_extension_funcs() support for non-lowercase names
Submitted: 2004-07-15 00:15 UTC Modified: 2004-07-15 13:12 UTC
From: fdsoft at pganet dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 5.0.0 OS: Mac OS X 10.3.4
Private report: No CVE-ID: None
 [2004-07-15 00:15 UTC] 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

?>


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-15 11:42 UTC] derick@php.net
This is correct behavior, making it a documentation issue.
 [2004-07-15 13:12 UTC] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=00faf671314df8e3447ef763e1dc9a36abf6f2f3
Log: fix #29169: the module_name must be in lowercase
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Aug 18 06:01:28 2024 UTC