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

search for in the

ReflectionClass::isIterateable> <ReflectionClass::isInterface
[edit] Last updated: Fri, 17 May 2013

view this page in

ReflectionClass::isInternal

(PHP 5)

ReflectionClass::isInternal拡張モジュールあるいはコアで定義された内部クラスであるかどうかを調べる

説明

public bool ReflectionClass::isInternal ( void )

そのクラスが拡張モジュールやコアで定義された内部クラスである (ユーザーが定義したものではない) かどうかを調べます。

パラメータ

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

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 ReflectionClass::isInternal() の基本的な使用例

<?php
$internalclass 
= new ReflectionClass('ReflectionClass');

class 
Apple {}
$userclass = new ReflectionClass('Apple');

var_dump($internalclass->isInternal());
var_dump($userclass->isInternal());
?>

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

bool(true)
bool(false)

参考



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

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