ReflectionFunctionAbstract
PHP Manual

ReflectionFunctionAbstract::isDeprecated

(PHP 5)

ReflectionFunctionAbstract::isDeprecatedChecks 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)

Zobacz też:


ReflectionFunctionAbstract
PHP Manual