php8.5
Home/ Manual/ reflection / reflectionfunction/ ReflectionFunction::isDisabled

ReflectionFunction::isDisabled

PHP function Deprecated as of PHP 8.0.0 Edit on GitHub ✎

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

Checks if function is disabled

Function-8-0-0

Description

ReflectionFunction::isDisabled(): bool

Checks if the function is disabled, via the disable_functions directive.

Parameters Parameters

Return Values

true if it's disabled, otherwise false

Changelog

VersionDescription
8.0.0This function has been deprecated, as ReflectionFunction can no longer be constructed for disabled functions.

See Also

Source: reference/reflection/reflectionfunction/isdisabled.xml · from the official PHP manual (php/doc-en)