PHP 8.1.0 Alpha 1 available for testing

ReflectionFunction::isDisabled

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

ReflectionFunction::isDisabledChecks if function is disabled

Warning

This function has been DEPRECATED as of PHP 8.0.0. Relying on this function is highly discouraged.

Description

public ReflectionFunction::isDisabled ( ) : bool

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

Parameters

This function has no parameters.

Return Values

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