« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 42 for ReflectionConstant (0.003 sec.)
ReflectionConstant クラス 9661
« ReflectionClassConstant::__toString ReflectionConstant::__construct » PHP Manual リフレクション ReflectionConstant クラス 検索 ReflectionConstant クラス (PHP 8 >= 8.4.0) はじめに ReflectionConstant クラスは、グローバル定数に関する情報を報 ... 告します。 クラス概要 class ReflectionConstant implements Reflector { /* プロパティ */ public string $ name ; /* メソッド */ public function __construct ( string $name ) ... がスローされます。 変更履歴 バージョン 説明 8.5.0 このクラスは、final ではなくなりました。 参考 ReflectionClassConstant 目次 ReflectionConstant::__construct — ReflectionConstant を構築する ReflectionConstant::getAttributes — アトリビュートを取得する ReflectionConsta ... nt::getExtension — 定数を定義した拡張モジュールの ReflectionExtension を取得する ReflectionConstant::getExtensionName — 定数を定義した拡張モジュールの名前を取得する ReflectionConstant::getFileName — 定数を定義したファイル名 ...
https://man.mtool.work/php/8.3/class.reflectionconstant.html
ReflectionConstant クラス 9630
« ReflectionClassConstant::__toString ReflectionConstant::__construct » PHP Manual リフレクション ReflectionConstant クラス 検索 ReflectionConstant クラス (PHP 8 >= 8.4.0) はじめに ReflectionConstant クラスは、グローバル定数に関する情報を報 ... 告します。 クラス概要 class ReflectionConstant implements Reflector { /* プロパティ */ public string $ name ; /* メソッド */ public function __construct ( string $name ) ... がスローされます。 変更履歴 バージョン 説明 8.5.0 このクラスは、final ではなくなりました。 参考 ReflectionClassConstant 目次 ReflectionConstant::__construct — ReflectionConstant を構築する ReflectionConstant::getAttributes — アトリビュートを取得する ReflectionConsta ... nt::getExtension — 定数を定義した拡張モジュールの ReflectionExtension を取得する ReflectionConstant::getExtensionName — 定数を定義した拡張モジュールの名前を取得する ReflectionConstant::getFileName — 定数を定義したファイル名 ...
https://man.mtool.work/php/8.3/class.reflectionconstant.html
ReflectionConstant を構築する 9429
« ReflectionConstant ReflectionConstant::getAttributes » PHP Manual ReflectionConstant ReflectionConstant を構築する 検索 ReflectionConstant::__construct (PHP 8 >= 8.4.0) ReflectionConstant::__construct — ReflectionConstant を構築する 説明 ... public function ReflectionConstant::__construct ( string $name ) 新しい ReflectionConstant を構築します。 パラメータ name 定数の名前。 エラー / 例外 与えられ ... た定数が存在しない場合は、 ReflectionException をスローします。 参考 Constructors 関連キーワード: ReflectionConstant 構築 construct 定数 getAttributes ReflectionException 参考 Constructors ...
https://man.mtool.work/php/8.3/reflectionconstant.construct.html
ReflectionConstant を構築する 9398
« ReflectionConstant ReflectionConstant::getAttributes » PHP Manual ReflectionConstant ReflectionConstant を構築する 検索 ReflectionConstant::__construct (PHP 8 >= 8.4.0) ReflectionConstant::__construct — ReflectionConstant を構築する 説明 ... public function ReflectionConstant::__construct ( string $name ) 新しい ReflectionConstant を構築します。 パラメータ name 定数の名前。 エラー / 例外 与えられ ... た定数が存在しない場合は、 ReflectionException をスローします。 参考 Constructors 関連キーワード: ReflectionConstant 構築 construct name 定数 Search getAttributes function string パラメータ 例外 場合 ReflectionException 参考 Constructors n ...
https://man.mtool.work/php/8.3/reflectionconstant.construct.html
定数名を取得する 9305
« ReflectionConstant::getFileName ReflectionConstant::getNamespaceName » PHP Manual ReflectionConstant 定数名を取得する 検索 ReflectionConstant::getName (PHP 8 >= 8.4.0) ReflectionConstant::getName — 定数名を取得する 説明 public function ReflectionConstant ... 名を取得します。 パラメータ この関数にはパラメータはありません。 戻り値 名前空間と名前で構成された定数名を返します。 例 例1 ReflectionConstant::getName() の例 <?php namespace Foo ; const BAR = 'bar' ; echo (new \ReflectionConstant ( 'Foo\BAR' ))-> getName (); ?> 上 ... の例の出力は以下となります。 Foo\BAR 参考 ReflectionConstant::getNamespaceName() - 名前空間名を取得する 関連キーワード: ReflectionConstant 定数 getName getNamespaceName 空間 getFileNa ...
https://man.mtool.work/php/8.3/reflectionconstant.getname.html
定数名を取得する 9274
« ReflectionConstant::getFileName ReflectionConstant::getNamespaceName » PHP Manual ReflectionConstant 定数名を取得する 検索 ReflectionConstant::getName (PHP 8 >= 8.4.0) ReflectionConstant::getName — 定数名を取得する 説明 public function ReflectionConstant ... 名を取得します。 パラメータ この関数にはパラメータはありません。 戻り値 名前空間と名前で構成された定数名を返します。 例 例1 ReflectionConstant::getName() の例 <?php namespace Foo ; const BAR = 'bar' ; echo (new \ReflectionConstant ( 'Foo\BAR' ))-> getName (); ?> 上 ... の例の出力は以下となります。 Foo\BAR 参考 ReflectionConstant::getNamespaceName() - 名前空間名を取得する 関連キーワード: ReflectionConstant 定数 getName Foo getNamespaceName パラメータ ...
https://man.mtool.work/php/8.3/reflectionconstant.getname.html
短い名前を取得する 9274
« ReflectionConstant::getNamespaceName ReflectionConstant::getValue » PHP Manual ReflectionConstant 短い名前を取得する 検索 ReflectionConstant::getShortName (PHP 8 >= 8.4.0) ReflectionConstant::getShortName — 短い名前を取得する 説明 public ... function ReflectionConstant::getShortName (): string 名前空間部分を除いた、定数の短い名前を取得します。 パラメータ この関数にはパラメータはありません。 ... 戻り値 定数の短い名前を返します。 例 例1 ReflectionConstant::getShortName() の例 <?php namespace Foo ; const BAR = 'bar' ; echo (new \ReflectionConstant ( 'Foo\BAR' ))-> getShortName ... (); ?> 上の例の出力は以下となります。 BAR 参考 ReflectionConstant::getName() - 定数名を取得する 関連キーワード: ReflectionConstant getShortName 定数 パラメータ Foo getNamespaceName Search ...
https://man.mtool.work/php/8.3/reflectionconstant.getshortname.html
短い名前を取得する 9274
« ReflectionConstant::getNamespaceName ReflectionConstant::getValue » PHP Manual ReflectionConstant 短い名前を取得する 検索 ReflectionConstant::getShortName (PHP 8 >= 8.4.0) ReflectionConstant::getShortName — 短い名前を取得する 説明 public ... function ReflectionConstant::getShortName (): string 名前空間部分を除いた、定数の短い名前を取得します。 パラメータ この関数にはパラメータはありません。 ... 戻り値 定数の短い名前を返します。 例 例1 ReflectionConstant::getShortName() の例 <?php namespace Foo ; const BAR = 'bar' ; echo (new \ReflectionConstant ( 'Foo\BAR' ))-> getShortName ... (); ?> 上の例の出力は以下となります。 BAR 参考 ReflectionConstant::getName() - 定数名を取得する 関連キーワード: ReflectionConstant getShortName 定数 getNamespaceName getValue 空間 namespac ...
https://man.mtool.work/php/8.3/reflectionconstant.getshortname.html
名前空間名を取得する 9243
« ReflectionConstant::getName ReflectionConstant::getShortName » PHP Manual ReflectionConstant 名前空間名を取得する 検索 ReflectionConstant::getNamespaceName (PHP 8 >= 8.4.0) ReflectionConstant::getNamespaceName — 名前空間名を取得する 説明 ... public function ReflectionConstant::getNamespaceName (): string 定数の名前空間名を取得します。 パラメータ この関数にはパラメータはありません。 戻り値 名前空間 ... 名を返します。グローバル名前空間の場合は空文字列を返します。 例 例1 ReflectionConstant::getNamespaceName() の例 <?php namespace Foo { const BAR = 'bar' ; var_dump ((new \ReflectionConstant ( 'Foo\BAR' ))-> get ... NamespaceName ()); } namespace { const BAR = 'bar' ; var_dump ((new \ReflectionConstant ( 'BAR' ))-> getNamespaceName ()); } ?> 上の例の出力は以下となります。 string(3) "Foo" string(0) "" 関連キーワード: Reflec ...
https://man.mtool.work/php/8.3/reflectionconstant.getnamespacename.html
名前空間名を取得する 9212
« ReflectionConstant::getName ReflectionConstant::getShortName » PHP Manual ReflectionConstant 名前空間名を取得する 検索 ReflectionConstant::getNamespaceName (PHP 8 >= 8.4.0) ReflectionConstant::getNamespaceName — 名前空間名を取得する 説明 ... public function ReflectionConstant::getNamespaceName (): string 定数の名前空間名を取得します。 パラメータ この関数にはパラメータはありません。 戻り値 名前空間 ... 名を返します。グローバル名前空間の場合は空文字列を返します。 例 例1 ReflectionConstant::getNamespaceName() の例 <?php namespace Foo { const BAR = 'bar' ; var_dump ((new \ReflectionConstant ( 'Foo\BAR' ))-> get ... NamespaceName ()); } namespace { const BAR = 'bar' ; var_dump ((new \ReflectionConstant ( 'BAR' ))-> getNamespaceName ()); } ?> 上の例の出力は以下となります。 string(3) "Foo" string(0) "" 関連キーワード: Reflec ...
https://man.mtool.work/php/8.3/reflectionconstant.getnamespacename.html
PREV 1 2 3 4 5 NEXT