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

search for in the

ReflectionFunctionAbstract::isInternal> <ReflectionFunctionAbstract::isClosure
[edit] Last updated: Fri, 25 May 2012

view this page in

ReflectionFunctionAbstract::isDeprecated

(PHP 5)

ReflectionFunctionAbstract::isDeprecated非推奨であるかどうかを調べる

説明

public bool ReflectionFunctionAbstract::isDeprecated ( void )

この関数が非推奨であるかどうかを調べます。

パラメータ

この関数にはパラメータはありません。

返り値

非推奨である場合に TRUE、それ以外の場合に FALSE を返します。

例1 ReflectionFunctionAbstract::isDeprecated() の例

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

上の例の出力は以下となります。

bool(true)

参考



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

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