ReflectionFunctionAbstract::isDeprecated
(PHP 5)
ReflectionFunctionAbstract::isDeprecated — Checks if deprecated
Opis
public bool ReflectionFunctionAbstract::isDeprecated
( void
)
Checks whether the function is deprecated.
Parametry
Ta funkcja nie posiada parametrów.
Zwracane wartości
TRUE if it's deprecated, otherwise FALSE
Przykłady
Przykład #1 ReflectionFunctionAbstract::isDeprecated() example
<?php
$rf = new ReflectionFunction('ereg');
var_dump($rf->isDeprecated());
?>
Powyższy przykład wyświetli:
bool(true)
There are no user contributed notes for this page.
