go to bug id or search bugs for
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.
Add a Patch
Add a Pull Request
Assigning to Derick (as he requested)
This appears to still be open.
I've created a pull request to fix this bug: https://github.com/php/php-src/pull/1312
Automatic comment on behalf of firstname.lastname@example.org
Log: Fix bug #31875 - get_defined_functions() should not list disabled functions.