PHP 8.1.0 RC 4 available for testing

ReflectionFunction::isDisabled

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

ReflectionFunction::isDisabledChecks if function is disabled

警告

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

说明

public ReflectionFunction::isDisabled(): bool

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

参数

此函数没有参数。

返回值

true if it's disable, otherwise false

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top