diff options
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -178,6 +178,9 @@ PHP 8.0 UPGRADE NOTES } RFC: https://wiki.php.net/rfc/abstract_trait_method_validation + . Disabled functions are now treated exactly like non-existent functions. + Calling a disabled function will report it as unknown, and redefining a + disabled function is now possible. - COM: . Removed the ability to import case-insensitive constants from type @@ -500,6 +503,11 @@ PHP 8.0 UPGRADE NOTES 4. Deprecated Functionality ======================================== +- Core: + . Calling get_defined_functions() with $exclude_disabled explicitly set to + false is deprecated. get_defined_functions() will never include disabled + functions. + - Enchant: . enchant_broker_set_dict_path and enchant_broker_get_dict_path not available in libenchant < 1.5 nor in libenchant-2 @@ -511,6 +519,11 @@ PHP 8.0 UPGRADE NOTES do not accept empty files as valid zip archives any longer. Existing workaround will be removed in next version. +- Reflection: + . ReflectionFunction::isDisabled() is deprecated, as it is no longer possible + to create a ReflectionFunction for a disabled function. This method now + always returns false. + ======================================== 5. Changed Functions ======================================== |