(PHP 5 >= 5.2.0, PHP 7, PHP 8)
ReflectionFunction::isDisabled — Checks if function is disabled
This function has been DEPRECATED as of PHP 8.0.0. Relying on this function is highly discouraged.
#[\Deprecated] public ReflectionFunction::isDisabled(): bool
Checks if the function is disabled, via the disable_functions directive.
This function has no parameters.
| Version | Description |
|---|---|
| 8.0.0 | This function has been deprecated, as ReflectionFunction can no longer be constructed for disabled functions. |
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionfunction.isdisabled.php