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

From: Date: Wed, 04 Jan 2017 13:37:29 +0000
Subject: Req #31875 [Opn->Csd]: get_defined_functions() should not list disabled functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206297@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: krakjoe@php.net Reported by: paul at quakenet dot org Summary: get_defined_functions() should not list disabled functions -Status: Open +Status: Closed Type: Feature/Change Request Package: Scripting Engine problem Operating System: * PHP Version: * Block user comment: N Private report: N New Comment: Automatic comment on behalf of contact@willianveiga.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=978832331acdcb59114bdba28498c248c5188883 Log: Fix bug #31875 - get_defined_functions() should not list disabled functions. Previous Comments: ------------------------------------------------------------------------ [2015-05-31 16:44:17] contact at willianveiga dot com I've created a pull request to fix this bug: https://github.com/php/php-src/pull/1312 ------------------------------------------------------------------------ [2015-01-08 23:30:44] ajf@php.net This appears to still be open. ------------------------------------------------------------------------ [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

« previous php.bugs (#206297) next »