« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 5 of about 5 for reflect (0.001 sec.)
ReflectionParameter::__construct — コンストラクタ | PHP 8.3 11766
ReflectionParameter::__construct (PHP 5, PHP 7, PHP 8) ReflectionParameter::__construct — コンストラクタ 説明 public function ReflectionParameter::__construct ( string | array | object $function , int | string $param ) ReflectionParameter ク ... たい関数。 param パラメータの位置を指定する int (0から始まります)、 もしくはパラメータの名前を string で指定します。 例 例1 ReflectionParameter クラスの使用 <?php function foo ( $a , $b , $c ) { } function bar ( Exception $a , & $b , $c ) { } function ba ... z ( ReflectionFunction $a , $b = 1 , $c = null ) { } function abc () { } $reflect = new ReflectionFunction ( 'foo' ); echo $reflect ; ... foreach ( $reflect -> getParameters () as $i => $param ) { printf ( "-- Parameter #%d: %s {\n" . " Class: %s\n" . " Allows NULL: %s\n" . " Pa ...
https://man.mtool.work/php/8.3/reflectionparameter.construct.html
ReflectionClass::getReflectionConstants — クラス定数を取得する | PHP 8.3 10240
ReflectionClass::getReflectionConstants (PHP 7 >= 7.1.0, PHP 8) ReflectionClass::getReflectionConstants — クラス定数を取得する 説明 public function ReflectionClass::getReflectionConstants ( ? int $filter = null ): array リフレクションされた ... 定数を取得します。 パラメータ filter オプションのフィルタで、取得したい定数の型を絞り込みます。 ReflectionClassConstant の定数 で設定し、デフォルトではすべての定数を取得します。 戻り値 ReflectionClassConstant の配列を返します。 ... 変更履歴 バージョン 説明 8.0.0 filter が追加されました。 例 例1 基本的な ReflectionClass::getReflectionConstants() の例 <?php class Foo { public const FOO = 1 ; protected const BAR = 2 ; private const BA ... Z = 3 ; } $foo = new Foo (); $reflect = new ReflectionClass ( $foo ); $consts = $reflect -> getReflectionConstants (); foreach ( $consts as $const ) { print $co ...
https://man.mtool.work/php/8.3/reflectionclass.getreflectionconstants.html
ReflectionClass::getProperties — プロパティを取得する | PHP 8.3 9743
ReflectionClass::getProperties (PHP 5, PHP 7, PHP 8) ReflectionClass::getProperties — プロパティを取得する 説明 public function ReflectionClass::getProperties ( ? int $filter = null ): array プロパティを取得します。 パラメータ filter オプシ ... ョンのフィルタで、取得したいプロパティの型を絞り込みます。 ReflectionProperty の定数 で設定し、デフォルトではすべてのプロパティ型を取得します。 戻り値 ReflectionProperty オブジェクトの配列を ... 返します。 変更履歴 バージョン 説明 7.2.0 filter は、nullable になりました。 例 例1 ReflectionClass::getProperties() でのフィルタリングの例 この例では、オプションのパラメータ filter を使って private プロパティを読み ... 飛ばします。 <?php class Foo { public $foo = 1 ; protected $bar = 2 ; private $baz = 3 ; } $foo = new Foo (); $reflect = new ReflectionClass ( $foo ); $props = $reflect -> getProperties ( ReflectionProperty :: IS_PUBLIC | ReflectionProperty ...
https://man.mtool.work/php/8.3/reflectionclass.getproperties.html
The MongoDB\BSON\ObjectId class | PHP 8.3 7206
The MongoDB\BSON\ObjectId class (mongodb >=1.0.0) はじめに BSON type for an » ObjectId . The value consists of 12 bytes, where the first four bytes are a timestamp that reflect the ObjectId's creation. Specifically, the value consists of: a ...
https://man.mtool.work/php/8.3/class.mongodb-bson-objectid.html
定義済み定数 | PHP 8.3 6967
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 Colortype constants Gmagick::COLOR_BLACK ( int ) Black Gmagick::COLOR_BLUE ( ... ITE_CLEAR ( int ) Makes the target image transparent Gmagick::COMPOSITE_COLORBURN ( int ) Darkens the destination image to reflect the source image Gmagick::COMPOSITE_COLORDODGE ( int ) Brightens the destination image to reflect the source image Gmagick ...
https://man.mtool.work/php/8.3/gmagick.constants.html
PREV 1 NEXT