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