Req #31875 [Opn]: get_defined_functions() should not list disabled functions

From: Date: Thu, 08 Jan 2015 23:30:45 +0000
Subject: Req #31875 [Opn]: get_defined_functions() should not list disabled functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189781@lists.php.net to get a copy of this message
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)

« previous php.bugs (#189781) next »