ReflectionFunction::isDisabled

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

ReflectionFunction::isDisabledChecks if function is disabled

警告

本函数已自 PHP 8.0.0 起被废弃。强烈建议不要依赖本函数。

说明

#[\Deprecated]
public ReflectionFunction::isDisabled(): bool

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

参数

此函数没有参数。

返回值

true if it's disabled, otherwise false

更新日志

版本 说明
8.0.0 This function has been deprecated, as ReflectionFunction can no longer be constructed for disabled functions.