For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > July 2004 > #29169 [Opn->Csd]: get_extension_funcs() support for non-lowercase names









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #29169 [Opn->Csd]: get_extension_funcs() support for non-lowercase names
nlopess@php.net

2004-07-15, 8:56 am

ID: 29169
Updated by: nlopess@php.net
Reported By: fdsoft at pganet dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Mac OS X 10.3.4
PHP Version: 5.0.0
New Comment:

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.




Previous Comments:
------------------------------------------------------------------------

[2004-07-15 11:42:25] derick@php.net

This is correct behavior, making it a documentation issue.

------------------------------------------------------------------------

[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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com