Changed Default "exclude_disabled" Argument to False

As of PHP 8.0.0, the exclude_disabled argument of get_defined_functions() defaults to true, where previously it defaulted to false. Additionally, the explicit value false is deprecated, as the function can no longer list disabled functions.


See execution result.


If you relied on a list of disabled functions, then there is no equivalent, and you will need to review your code's logic manually.

If you only relied on enabled functions and the call had no argument, then no change is required. If the call had an explicit false argument, then the argument should be removed:


Errors or Warnings

See Also