#19318 [Opn->Bgs]: get_defined_functions() not returning all available functions
| From: | sniper@php.net | Date: | Mon, 09 Sep 2002 15:50:36 +0000 |
| Subject: | #19318 [Opn->Bgs]: get_defined_functions() not returning all available functions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18817@lists.php.net to get a copy of this message | ||
ID: 19318
Updated by: sniper@php.net
Reported By: marcuscorrea@yahoo.com
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
Operating System: Win ME + Apache (local)
PHP Version: 4.2.2
New Comment:
You need to enable the extensions for the functions to exist. Not a
bug.
Previous Comments:
------------------------------------------------------------------------
[2002-09-09 10:50:15] marcuscorrea@yahoo.com
No, I have not.
If installing said libraries influences the output, it would be good if
this was informed in the documentation.
In the documentation of a related function, namely function_exists(),
it says:
"Note that a function name may exist even if the function itself is
unusable due to configuration or compiling options (...)".
I just assumed this to be true for get_defined_functions() as well.
Sorry.
Marcus
------------------------------------------------------------------------
[2002-09-09 10:44:22] kalowsky@php.net
Did you install said libraries?
------------------------------------------------------------------------
[2002-09-09 10:42:31] marcuscorrea@yahoo.com
get_defined_functions() does not return all internal functions
available in release 4.2.2.
I used
$arr = get_defined_functions();
print_r($arr);
and got the list allright. However, if I search for any 'domxml_' or
'exif_' strings in my output, for instance, I do not find any.
Regards,
Marcus
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19318&edit=1