1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Deprecate the parameter of get_defined_functions() (#19425)

RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_exclude_disabled_parameter_of_get_defined_functions
This commit is contained in:
Gina Peter Banyard
2025-08-09 11:22:43 +01:00
committed by GitHub
parent f64c6248b5
commit 94a15cc92f
3 changed files with 6 additions and 20 deletions

View File

@@ -22,6 +22,8 @@ var_dump(in_array($disabled_function, $functions['internal']));
--EXPECTF--
bool(false)
Deprecated: get_defined_functions(): Setting $exclude_disabled to false has no effect in %s on line %d
Deprecated: get_defined_functions(): The $exclude_disabled parameter has no effect since PHP 8.0 in %s on line %d
bool(false)
Deprecated: get_defined_functions(): The $exclude_disabled parameter has no effect since PHP 8.0 in %s on line %d
bool(false)