ReflectionFunctionAbstract::isDeprecated
Checks if deprecated
Beschreibung
public bool ReflectionFunctionAbstract::isDeprecated
( void
)
Parameter-Liste
Diese Funktion hat keine Parameter.
Rückgabewerte
TRUE if it's deprecated, otherwise FALSE
Beispiele
Beispiel #1
ReflectionFunctionAbstract::isDeprecated example
<?php
$rf = new ReflectionFunction('ereg');
var_dump($rf->isDeprecated());
?>
Das oben gezeigte Beispiel erzeugt folgende
Ausgabe:
Siehe auch
- ReflectionFunctionAbstract::getDocComment