« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 12 for getExecutingGenerator (0.002 sec.)
実行中の Generator オブジェクトを取得する 12010
« ReflectionGenerator::getExecutingFile ReflectionGenerator::getExecutingLine » PHP Manual ReflectionGenerator 実行中の Generator オブジェクトを取得する 検索 ReflectionGenerator::getExecutingGenerator (PHP 7, PHP 8) ReflectionGenerator::getExecutingGenerator ... ExecutingGenerator — 実行中の Generator オブジェクトを取得する 説明 public function ReflectionGenerator::getExecutingGenerator (): Generator 実行中の Generator オブジェクトを取得します。 パラメータ この関数にはパラメータはありません。 戻り値 現在実行 ... 中の Generator オブジェクトを返します。 例 例1 ReflectionGenerator::getExecutingGenerator() の例 <?php class GenExample { public function gen () { yield 1 ; } } $gen = (new GenExample )-> gen (); $reflectionGen = ... new ReflectionGenerator ( $gen ); $gen2 = $reflectionGen -> getExecutingGenerator (); var_dump ( $gen2 === $gen ); var_dump ( $gen2 -> current ()); 上の例の出力は、 たとえば以下のようになります。 bool(tru ...
https://man.mtool.work/php/8.3/reflectiongenerator.getexecutinggenerator.html
実行中の Generator オブジェクトを取得する 11868
« ReflectionGenerator::getExecutingFile ReflectionGenerator::getExecutingLine » PHP Manual ReflectionGenerator 実行中の Generator オブジェクトを取得する 検索 ReflectionGenerator::getExecutingGenerator (PHP 7, PHP 8) ReflectionGenerator::getExecutingGenerator ... ExecutingGenerator — 実行中の Generator オブジェクトを取得する 説明 public function ReflectionGenerator::getExecutingGenerator (): Generator 実行中の Generator オブジェクトを取得します。 パラメータ この関数にはパラメータはありません。 戻り値 現在実行 ... 中の Generator オブジェクトを返します。 例 例1 ReflectionGenerator::getExecutingGenerator() の例 <?php class GenExample { public function gen () { yield 1 ; } } $gen = (new GenExample )-> gen (); $reflectionGen = ... new ReflectionGenerator ( $gen ); $gen2 = $reflectionGen -> getExecutingGenerator (); var_dump ( $gen2 === $gen ); var_dump ( $gen2 -> current ()); 上の例の出力は、 たとえば以下のようになります。 bool(tru ...
https://man.mtool.work/php/8.3/reflectiongenerator.getexecutinggenerator.html
現在実行中のジェネレータの行を取得する 9286
« ReflectionGenerator::getExecutingGenerator ReflectionGenerator::getFunction » PHP Manual ReflectionGenerator 現在実行中のジェネレータの行を取得する 検索 ReflectionGenerator::getExecutingLine (PHP 7, PHP 8) ReflectionGenerator::getExecutin ... eflectionGen -> getExecutingLine ()} " ; 上の例の出力は、 たとえば以下のようになります。 Line: 7 参考 ReflectionGenerator::getExecutingGenerator() - 実行中の Generator オブジェクトを取得する ReflectionGenerator::getExecutingFile() - 現在実行中のジェネレータのファイル ... 名を取得する 関連キーワード: ReflectionGenerator 現在 ジェネレータ getExecutingLine gen getExecutingGenerator function パラメータ GenExample new reflectionGen Line Search getFunction int 戻り値 行番号 php class yield ...
https://man.mtool.work/php/8.3/reflectiongenerator.getexecutingline.html
現在実行中のジェネレータの行を取得する 9286
« ReflectionGenerator::getExecutingGenerator ReflectionGenerator::getFunction » PHP Manual ReflectionGenerator 現在実行中のジェネレータの行を取得する 検索 ReflectionGenerator::getExecutingLine (PHP 7, PHP 8) ReflectionGenerator::getExecutin ... eflectionGen -> getExecutingLine ()} " ; 上の例の出力は、 たとえば以下のようになります。 Line: 7 参考 ReflectionGenerator::getExecutingGenerator() - 実行中の Generator オブジェクトを取得する ReflectionGenerator::getExecutingFile() - 現在実行中のジェネレータのファイル ... 名を取得する 関連キーワード: ReflectionGenerator ジェネレータ getExecutingLine getExecutingGenerator GenExample reflectionGen Line getFunction 行番号 yield 参考 Generator getExecutingFile ...
https://man.mtool.work/php/8.3/reflectiongenerator.getexecutingline.html
現在実行中のジェネレータのファイル名を取得する 9215
« ReflectionGenerator::__construct ReflectionGenerator::getExecutingGenerator » PHP Manual ReflectionGenerator 現在実行中のジェネレータのファイル名を取得する 検索 ReflectionGenerator::getExecutingFile (PHP 7, PHP 8) ReflectionGenerator::get ... ile/example.php 参考 ReflectionGenerator::getExecutingLine() - 現在実行中のジェネレータの行を取得する ReflectionGenerator::getExecutingGenerator() - 実行中の Generator オブジェクトを取得する 関連キーワード: ReflectionGenerator 現在 ジェネレータ getExecutingFile gen g ...
https://man.mtool.work/php/8.3/reflectiongenerator.getexecutingfile.html
現在実行中のジェネレータのファイル名を取得する 9215
« ReflectionGenerator::__construct ReflectionGenerator::getExecutingGenerator » PHP Manual ReflectionGenerator 現在実行中のジェネレータのファイル名を取得する 検索 ReflectionGenerator::getExecutingFile (PHP 7, PHP 8) ReflectionGenerator::get ... ile/example.php 参考 ReflectionGenerator::getExecutingLine() - 現在実行中のジェネレータの行を取得する ReflectionGenerator::getExecutingGenerator() - 実行中の Generator オブジェクトを取得する 関連キーワード: ReflectionGenerator ジェネレータ getExecutingFile getExecuti ...
https://man.mtool.work/php/8.3/reflectiongenerator.getexecutingfile.html
ReflectionGenerator クラス 9073
« ReflectionUnionType::getTypes ReflectionGenerator::__construct » PHP Manual リフレクション ReflectionGenerator クラス 検索 ReflectionGenerator クラス (PHP 7, PHP 8) はじめに ReflectionGenerator クラスは、ジェネレータに関する情報を報告しま ... メソッド */ public function __construct ( Generator $generator ) public function getExecutingFile (): string public function getExecutingGenerator (): Generator public function getExecutingLine (): int public function getFunction (): ReflectionFunctionAbstract public f ... ェクトを構築する ReflectionGenerator::getExecutingFile — 現在実行中のジェネレータのファイル名を取得する ReflectionGenerator::getExecutingGenerator — 実行中の Generator オブジェクトを取得する ReflectionGenerator::getExecutingLine — 現在実行中のジェネレータの行を取得する ... かどうかを調べる 関連キーワード: ReflectionGenerator 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 クラス 9073
« ReflectionUnionType::getTypes ReflectionGenerator::__construct » PHP Manual リフレクション ReflectionGenerator クラス 検索 ReflectionGenerator クラス (PHP 7, PHP 8) はじめに ReflectionGenerator クラスは、ジェネレータに関する情報を報告しま ... メソッド */ public function __construct ( Generator $generator ) public function getExecutingFile (): string public function getExecutingGenerator (): Generator public function getExecutingLine (): int public function getFunction (): ReflectionFunctionAbstract public f ... ェクトを構築する ReflectionGenerator::getExecutingFile — 現在実行中のジェネレータのファイル名を取得する ReflectionGenerator::getExecutingGenerator — 実行中の Generator オブジェクトを取得する ReflectionGenerator::getExecutingLine — 現在実行中のジェネレータの行を取得する ... の実行が完了したかどうかを調べる 関連キーワード: ReflectionGenerator ジェネレータ construct Generator final getExecutingFile getExecutingGenerator getExecutingLine getFunction getThis getTrace isClosed ReflectionUnionType getTypes リフレクション 報告 概要 generator Ref ...
https://man.mtool.work/php/8.3/class.reflectiongenerator.html
リフレクション 6862
« QuickHashIntStringHash::update 例 » PHP Manual 変数・データ型関連 リフレクション 検索 リフレクション はじめに PHP には完全なリフレクション API が付属しており、 クラス、インターフェイス、関数、メソッド、そして拡張モジュールについて 型やプロ ... ェクトを構築する ReflectionGenerator::getExecutingFile — 現在実行中のジェネレータのファイル名を取得する ReflectionGenerator::getExecutingGenerator — 実行中の Generator オブジェクトを取得する ReflectionGenerator::getExecutingLine — 現在実行中のジェネレータの行を取得する ...
https://man.mtool.work/php/8.3/book.reflection.html
リフレクション 6862
« QuickHashIntStringHash::update 例 » PHP Manual 変数・データ型関連 リフレクション 検索 リフレクション はじめに PHP には完全なリフレクション API が付属しており、 クラス、インターフェイス、関数、メソッド、そして拡張モジュールについて 型やプロ ... ェクトを構築する ReflectionGenerator::getExecutingFile — 現在実行中のジェネレータのファイル名を取得する ReflectionGenerator::getExecutingGenerator — 実行中の Generator オブジェクトを取得する ReflectionGenerator::getExecutingLine — 現在実行中のジェネレータの行を取得する ...
https://man.mtool.work/php/8.3/book.reflection.html
PREV 1 2 NEXT