php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #31875 get_defined_functions() should not list disabled functions
Submitted: 2005-02-07 21:36 UTC Modified: 2015-01-08 23:30 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: paul at quakenet dot org Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: * OS: *
Private report: No CVE-ID:
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: paul at quakenet dot org
New email:
PHP Version: OS:

 

 [2005-02-07 21:36 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-07 21:44 UTC] sfox@php.net
Assigning to Derick (as he requested)
 [2010-12-20 14:08 UTC] jani@php.net
-Summary: get_defined_functions includes functions that are disabled +Summary: get_defined_functions() should not list disabled functions -Package: Feature/Change Request +Package: Scripting Engine problem -Operating System: Freebsd +Operating System: * -PHP Version: 4.3.10 +PHP Version: *
 [2013-01-06 16:05 UTC] derick@php.net
-Status: Assigned +Status: Open -Assigned To: derick +Assigned To:
 [2015-01-08 23:30 UTC] ajf@php.net
This appears to still be open.
 [2015-05-31 16:44 UTC] contact at willianveiga dot com
I've created a pull request to fix this bug: https://github.com/php/php-src/pull/1312
 [2017-01-04 13:37 UTC] krakjoe@php.net
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.
 [2017-01-04 13:37 UTC] krakjoe@php.net
-Status: Open +Status: Closed
 [2017-01-04 13:37 UTC] krakjoe@php.net
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.
 [2017-01-04 13:37 UTC] krakjoe@php.net
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.
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Aug 29 15:01:52 2017 UTC