« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 20 for getFunction (0.001 sec.)
ジェネレータの関数名を取得する 12575
« ReflectionGenerator::getExecutingLine ReflectionGenerator::getThis » PHP Manual ReflectionGenerator ジェネレータの関数名を取得する 検索 ReflectionGenerator::getFunction (PHP 7, PHP 8) ReflectionGenerator::getFunction — ジェネレータの関数名 ... を取得する 説明 public function ReflectionGenerator::getFunction (): ReflectionFunctionAbstract ReflectionFunctionAbstract から派生したクラスを返すことによって、 取得したジェネレータの関数 ... ectionFunction ですし、 メソッドの場合は ReflectionMethod になります。 変更履歴 バージョン 説明 8.4.0 ReflectionGenerator::getFunction() は、 ジェネレータの実行が終了した後に呼び出すことができるようになりました。 例 例1 ReflectionGenerator::getFunction() の ... nction gen () { yield 1 ; } $gen = gen (); $reflectionGen = new ReflectionGenerator ( $gen ); var_dump ( $reflectionGen -> getFunction ()); 上の例の出力は、 たとえば以下のようになります。 object(ReflectionFunction)#3 (1) { ["name"]=> string(3) "gen" } 参考 ...
https://man.mtool.work/php/8.3/reflectiongenerator.getfunction.html
ジェネレータの関数名を取得する 12490
« ReflectionGenerator::getExecutingLine ReflectionGenerator::getThis » PHP Manual ReflectionGenerator ジェネレータの関数名を取得する 検索 ReflectionGenerator::getFunction (PHP 7, PHP 8) ReflectionGenerator::getFunction — ジェネレータの関数名 ... を取得する 説明 public function ReflectionGenerator::getFunction (): ReflectionFunctionAbstract ReflectionFunctionAbstract から派生したクラスを返すことによって、 取得したジェネレータの関数 ... ectionFunction ですし、 メソッドの場合は ReflectionMethod になります。 変更履歴 バージョン 説明 8.4.0 ReflectionGenerator::getFunction() は、 ジェネレータの実行が終了した後に呼び出すことができるようになりました。 例 例1 ReflectionGenerator::getFunction() の ... nction gen () { yield 1 ; } $gen = gen (); $reflectionGen = new ReflectionGenerator ( $gen ); var_dump ( $reflectionGen -> getFunction ()); 上の例の出力は、 たとえば以下のようになります。 object(ReflectionFunction)#3 (1) { ["name"]=> string(3) "gen" } 参考 ...
https://man.mtool.work/php/8.3/reflectiongenerator.getfunction.html
ReflectionGenerator オブジェクトを構築する 9533
« ReflectionGenerator ReflectionGenerator::getExecutingFile » PHP Manual ReflectionGenerator ReflectionGenerator オブジェクトを構築する 検索 ReflectionGenerator::__construct (PHP 7, PHP 8) ReflectionGenerator::__construct — ReflectionGenera ... gen () { yield 1 ; } $gen = gen (); $reflectionGen = new ReflectionGenerator ( $gen ); echo <<< output { $reflectionGen -> getFunction ()-> name } Line: { $reflectionGen -> getExecutingLine ()} File: { $reflectionGen -> getExecutingFile ()} output; 上の例の ... 出力は、 たとえば以下のようになります。 gen Line: 5 File: /path/to/file/example.php 参考 ReflectionGenerator::getFunction() - ジェネレータの関数名を取得する ReflectionGenerator::getExecutingLine() - 現在実行中のジェネレータの行を取得する Reflec ... 名を取得する 関連キーワード: ReflectionGenerator 構築 construct ジェネレータ reflectionGen getExecutingFile generator output getFunction Line getExecutingLine Generator yield path example 参考 ...
https://man.mtool.work/php/8.3/reflectiongenerator.construct.html
ReflectionGenerator オブジェクトを構築する 9465
« ReflectionGenerator ReflectionGenerator::getExecutingFile » PHP Manual ReflectionGenerator ReflectionGenerator オブジェクトを構築する 検索 ReflectionGenerator::__construct (PHP 7, PHP 8) ReflectionGenerator::__construct — ReflectionGenera ... gen () { yield 1 ; } $gen = gen (); $reflectionGen = new ReflectionGenerator ( $gen ); echo <<< output { $reflectionGen -> getFunction ()-> name } Line: { $reflectionGen -> getExecutingLine ()} File: { $reflectionGen -> getExecutingFile ()} output; 上の例の ... 出力は、 たとえば以下のようになります。 gen Line: 5 File: /path/to/file/example.php 参考 ReflectionGenerator::getFunction() - ジェネレータの関数名を取得する ReflectionGenerator::getExecutingLine() - 現在実行中のジェネレータの行を取得する Reflec ... lectionGenerator オブジェクト gen 構築 construct ジェネレータ reflectionGen getExecutingFile function generator php output getFunction Line getExecutingLine File 現在 Search Generator パラメータ ...
https://man.mtool.work/php/8.3/reflectiongenerator.construct.html
ジェネレータの $this の値を取得する 9380
« ReflectionGenerator::getFunction ReflectionGenerator::getTrace » PHP Manual ReflectionGenerator ジェネレータの $this の値を取得する 検索 ReflectionGenerator::getThis (PHP 7, PHP 8) ReflectionGenerator::getThis — ジェネレータの $this の値を ... Gen -> getThis ()); 上の例の出力は、 たとえば以下のようになります。 object(GenExample)#3 (0) { } 参考 ReflectionGenerator::getFunction() - ジェネレータの関数名を取得する ReflectionGenerator::getTrace() - 実行中のジェネレータのトレースを取得する 関連キーワー ... ド: ReflectionGenerator ジェネレータ getThis gen GenExample getFunction getTrace function object パラメータ new reflectionGen Search 戻り値 クラス コンテキスト 場合 null php class ...
https://man.mtool.work/php/8.3/reflectiongenerator.getthis.html
ジェネレータの $this の値を取得する 9380
« ReflectionGenerator::getFunction ReflectionGenerator::getTrace » PHP Manual ReflectionGenerator ジェネレータの $this の値を取得する 検索 ReflectionGenerator::getThis (PHP 7, PHP 8) ReflectionGenerator::getThis — ジェネレータの $this の値を ... Gen -> getThis ()); 上の例の出力は、 たとえば以下のようになります。 object(GenExample)#3 (0) { } 参考 ReflectionGenerator::getFunction() - ジェネレータの関数名を取得する ReflectionGenerator::getTrace() - 実行中のジェネレータのトレースを取得する 関連キーワー ... ド: ReflectionGenerator ジェネレータ getThis GenExample getFunction getTrace reflectionGen コンテキスト yield dump 参考 トレース ...
https://man.mtool.work/php/8.3/reflectiongenerator.getthis.html
ReflectionGenerator クラス 9244
« ReflectionUnionType::getTypes ReflectionGenerator::__construct » PHP Manual リフレクション ReflectionGenerator クラス 検索 ReflectionGenerator クラス (PHP 7, PHP 8) はじめに ReflectionGenerator クラスは、ジェネレータに関する情報を報告しま ... le (): string public function getExecutingGenerator (): Generator public function getExecutingLine (): int public function getFunction (): ReflectionFunctionAbstract public function getThis (): ? object public function getTrace ( int $options = DEBUG_BACKTR ... オブジェクトを取得する ReflectionGenerator::getExecutingLine — 現在実行中のジェネレータの行を取得する ReflectionGenerator::getFunction — ジェネレータの関数名を取得する ReflectionGenerator::getThis — ジェネレータの $this の値を取得する ReflectionGenerator::g ... nerator function ジェネレータ クラス construct Generator final getExecutingFile getExecutingGenerator getExecutingLine int getFunction getThis getTrace isClosed オブジェクト 現在 ReflectionUnionType getTypes Search ...
https://man.mtool.work/php/8.3/class.reflectiongenerator.html
ReflectionGenerator クラス 9244
« ReflectionUnionType::getTypes ReflectionGenerator::__construct » PHP Manual リフレクション ReflectionGenerator クラス 検索 ReflectionGenerator クラス (PHP 7, PHP 8) はじめに ReflectionGenerator クラスは、ジェネレータに関する情報を報告しま ... le (): string public function getExecutingGenerator (): Generator public function getExecutingLine (): int public function getFunction (): ReflectionFunctionAbstract public function getThis (): ? object public function getTrace ( int $options = DEBUG_BACKTR ... オブジェクトを取得する ReflectionGenerator::getExecutingLine — 現在実行中のジェネレータの行を取得する ReflectionGenerator::getFunction — ジェネレータの関数名を取得する ReflectionGenerator::getThis — ジェネレータの $this の値を取得する ReflectionGenerator::g ... ーワード: ReflectionGenerator ジェネレータ construct Generator final getExecutingFile getExecutingGenerator getExecutingLine getFunction getThis getTrace isClosed ReflectionUnionType getTypes リフレクション 報告 概要 generator ReflectionFunctionAbstract optio ...
https://man.mtool.work/php/8.3/class.reflectiongenerator.html
現在実行中のジェネレータの行を取得する 8581
« ReflectionGenerator::getExecutingGenerator ReflectionGenerator::getFunction » PHP Manual ReflectionGenerator 現在実行中のジェネレータの行を取得する 検索 ReflectionGenerator::getExecutingLine (PHP 7, PHP 8) ReflectionGenerator::getExecutin ... 現在 ジェネレータ getExecutingLine gen getExecutingGenerator function パラメータ GenExample new reflectionGen Line Search getFunction int 戻り値 行番号 php class yield ...
https://man.mtool.work/php/8.3/reflectiongenerator.getexecutingline.html
現在実行中のジェネレータの行を取得する 8581
« ReflectionGenerator::getExecutingGenerator ReflectionGenerator::getFunction » PHP Manual ReflectionGenerator 現在実行中のジェネレータの行を取得する 検索 ReflectionGenerator::getExecutingLine (PHP 7, PHP 8) ReflectionGenerator::getExecutin ... 得する 関連キーワード: ReflectionGenerator ジェネレータ getExecutingLine getExecutingGenerator GenExample reflectionGen Line getFunction 行番号 yield 参考 Generator getExecutingFile ...
https://man.mtool.work/php/8.3/reflectiongenerator.getexecutingline.html
PREV 1 2 NEXT