downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ReflectionFunctionAbstract::isGenerator> <ReflectionFunctionAbstract::isClosure
[edit] Last updated: Sat, 18 May 2013

view this page in

ReflectionFunctionAbstract::isDeprecated

(PHP 5)

ReflectionFunctionAbstract::isDeprecatedVérifie si la fonction est obsolète

Description

public bool ReflectionFunctionAbstract::isDeprecated ( void )

Vérifie si la fonction est obsolète.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

TRUE si la fonction est obsolète, FALSE sinon.

Exemples

Exemple #1 Exemple avec ReflectionFunctionAbstract::isDeprecated()

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

L'exemple ci-dessus va afficher :

bool(true)

Voir aussi



add a note add a note User Contributed Notes ReflectionFunctionAbstract::isDeprecated - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites