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: Fri, 17 May 2013

view this page in

ReflectionFunctionAbstract::isDeprecated

(PHP 5)

ReflectionFunctionAbstract::isDeprecatedChecks if deprecated

Beschreibung

public bool ReflectionFunctionAbstract::isDeprecated ( void )

Checks whether the function is deprecated.

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

TRUE if it's deprecated, otherwise FALSE

Beispiele

Beispiel #1 ReflectionFunctionAbstract::isDeprecated() example

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

Das oben gezeigte Beispiel erzeugt folgende Ausgabe:

bool(true)

Siehe auch



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