« QuickHashIntStringHash::update
例 »

リフレクション

はじめに

PHP には完全なリフレクション API が付属しており、 クラス、インターフェイス、関数、メソッド、そして拡張モジュールについて 型やプロパティを実行時に調べることができます。 さらに、このリフレクション API は関数、クラス、メソッドに 関するドキュメントコメントも取得することができます。

内部 API の一部には、Reflection 拡張モジュールに対応するために必要なコードが欠けているものがあることに注意しましょう。 たとえば、内部 PHP クラスにはプロパティについてのリフレクションデータがありません。 しかし、こういった例はバグだと見なされており、見つけたら修正しなければなりません。

関連キーワード:
ReflectionClass   定数   ReflectionClassConstant   ReflectionExtension   拡張   ReflectionConstant   ReflectionZendExtension   インスタンス   リフレクション   プロパティ   construct   ReflectionEnum   レイジー   列挙型   case   ReflectionFunction   export   エクスポート   ReflectionEnumUnitCase   インターフェイス   Reflection   getName   toString   ReflectionEnumBackedCase   トレイト
関連する関数・ページ:
class.reflectionenumunitcase   class.reflectionconstant   refs.basic.vartype   reflectionzendextension.export   reflectionconstant.getextension   reflectionclassconstant.export