ReflectionFunctionAbstract::isDeprecated

(PHP 5)

ReflectionFunctionAbstract::isDeprecatedChecks if deprecated

Опис

public bool ReflectionFunctionAbstract::isDeprecated ( void )

Checks whether the function is deprecated.

Параметри

В цієї функції немає параметрів.

Значення, що повертаються

TRUE if it's deprecated, otherwise FALSE

Приклади

Приклад #1 ReflectionFunctionAbstract::isDeprecated() example

<?php
$rf 
= new ReflectionFunction('ereg');
var_dump($rf->isDeprecated());
?>

Наведений вище приклад виведе:

bool(true)

Прогляньте Також

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top