ReflectionFunctionAbstract::isDeprecated
(PHP 5)
ReflectionFunctionAbstract::isDeprecated — Checks if deprecated
Beschreibung
public bool ReflectionFunctionAbstract::isDeprecated
( void
)
Checks whether the function is deprecated.
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:
bool(true)