ReflectionFunctionAbstract::isDeprecated
(PHP 5)
ReflectionFunctionAbstract::isDeprecated — Checks if deprecated
Descrição
public bool ReflectionFunctionAbstract::isDeprecated
( void
)
Checks whether the function is deprecated.
Parâmetros
Esta função não possui parâmetros.
Valor Retornado
TRUE if it's deprecated, otherwise FALSE
Exemplos
Example #1 ReflectionFunctionAbstract::isDeprecated() example
<?php
$rf = new ReflectionFunction('ereg');
var_dump($rf->isDeprecated());
?>
O exemplo acima irá imprimir:
bool(true)