PHP Unconference Europe 2015

ReflectionFunctionAbstract::isDeprecated

(PHP 5)

ReflectionFunctionAbstract::isDeprecatedChecks if deprecated

Descrierea

public bool ReflectionFunctionAbstract::isDeprecated ( void )

Checks whether the function is deprecated.

Parametri

Această funcție nu are parametri.

Valorile întoarse

TRUE if it's deprecated, otherwise FALSE

Exemple

Example #1 ReflectionFunctionAbstract::isDeprecated() example

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

Exemplul de mai sus va afișa:

bool(true)

Vedeți de asemenea

add a note add a note

User Contributed Notes

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