Req #31875 [Opn]: get_defined_functions() should not list disabled functions
Edit report at https://bugs.php.net/bug.php?id=31875&edit=1
ID: 31875
Updated by: ajf@php.net
Reported by: paul at quakenet dot org
Summary: get_defined_functions() should not list disabled
functions
Status: Open
Type: Feature/Change Request
Package: Scripting Engine problem
Operating System: *
PHP Version: *
Block user comment: N
Private report: N
New Comment:
This appears to still be open.
Previous Comments:
------------------------------------------------------------------------
[2005-02-07 21:44:07] sfox@php.net
Assigning to Derick (as he requested)
------------------------------------------------------------------------
[2005-02-07 21:36:30] paul at quakenet dot org
Description:
------------
get_defined_functions() returns a list of defined functions.
This includes functions that have been disabled through the use of disable_functions, and therefore
function_exists() returns as not being defined.
get_definited_functions should only return the list of functions that are defined (and enabled) for
users to use.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=31875&edit=1
Thread (7 messages)