(PHP 5, PHP 7)
Checks if deprecated
public bool ReflectionFunctionAbstract::isDeprecated ( void )
Checks whether the function is deprecated.
Returns:
TRUE
if it's deprecated, otherwise FALSE
Examples:
ReflectionFunctionAbstract::isDeprecated() example
<?php $rf = new ReflectionFunction('ereg'); var_dump($rf->isDeprecated()); ?>
The above example will output:
bool(true)
See also:
Please login to continue.