ReflectionFunction::isDisabled

( excerpt from http://php.net/manual/en/reflectionfunction.isdisabled.php )

public function isDisabled(): bool;

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

Returns

  • bool - TRUE if it's disable, otherwise FALSE