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

From: Date: Sun, 31 May 2015 16:44:18 +0000
Subject: Req #31875 [Com]: get_defined_functions() should not list disabled functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193035@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 Comment by: contact at willianveiga dot com 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: I've created a pull request to fix this bug: https://github.com/php/php-src/pull/1312 Previous Comments: ------------------------------------------------------------------------ [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 (#193035) next »