« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 8 of about 8 for getExecutingLine (0.001 sec.)
ReflectionGenerator::getExecutingLine — 現在実行中のジェネレータの行を取得する ... 13013
ReflectionGenerator::getExecutingLine (PHP 7, PHP 8) ReflectionGenerator::getExecutingLine — 現在実行中のジェネレータの行を取得する 説明 public function ReflectionGenerator::getExecutingLine (): int 現在実行中のジェネレータの行を取得します。 ... タ この関数にはパラメータはありません。 戻り値 現在実行中のジェネレータの式の行番号を返します。 例 例1 ReflectionGenerator::getExecutingLine() の例 <?php class GenExample { public function gen () { yield 1 ; } } $gen = (new GenExample )-> gen (); $reflectionGen = ... new ReflectionGenerator ( $gen ); echo "Line: { $reflectionGen -> getExecutingLine ()} " ; 上の例の出力は、 たとえば以下のようになります。 Line: 7 参考 ReflectionGenerator::getExecutingGenerator() - 実行中 ...
https://man.mtool.work/php/8.3/reflectiongenerator.getexecutingline.html
ReflectionFiber::getExecutingLine — 現在実行中の行番号を取得する | PHP 8.3 10248
ReflectionFiber::getExecutingLine (PHP 8 >= 8.1.0) ReflectionFiber::getExecutingLine — 現在実行中の行番号を取得する 説明 public function ReflectionFiber::getExecutingLine (): ? int リフレクションされた Fiber が現在実行している行番号を返しま ...
https://man.mtool.work/php/8.3/reflectionfiber.getexecutingline.html
ReflectionFiber クラス | PHP 8.3 9181
ReflectionFiber クラス (PHP 8 >= 8.1.0) はじめに クラス概要 final class ReflectionFiber { /* メソッド */ public function __construct ( Fiber $fiber ) public function getCallable (): callable public function getExecutingFile (): ? string pub ... lic function getExecutingLine (): ? int public function getFiber (): Fiber public function getTrace ( int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT ): a ... の構築に使われた callable を取得する ReflectionFiber::getExecutingFile — 現在実行中のファイル名を取得する ReflectionFiber::getExecutingLine — 現在実行中の行番号を取得する ReflectionFiber::getFiber — リフレクションされた Fiber クラスのインスタンスを取得する Refle ...
https://man.mtool.work/php/8.3/class.reflectionfiber.html
ReflectionGenerator::__construct — ReflectionGenerator オブジェクトを構築する |... 8964
ReflectionGenerator::__construct (PHP 7, PHP 8) ReflectionGenerator::__construct — ReflectionGenerator オブジェクトを構築する 説明 public function ReflectionGenerator::__construct ( Generator $generator ) ReflectionGenerator オブジェクトを構 ... = new ReflectionGenerator ( $gen ); echo <<< output { $reflectionGen -> getFunction ()-> name } Line: { $reflectionGen -> getExecutingLine ()} File: { $reflectionGen -> getExecutingFile ()} output; 上の例の出力は、 たとえば以下のようになります。 gen Line: 5 Fil ... e: /path/to/file/example.php 参考 ReflectionGenerator::getFunction() - ジェネレータの関数名を取得する ReflectionGenerator::getExecutingLine() - 現在実行中のジェネレータの行を取得する ReflectionGenerator::getExecutingFile() - 現在実行中のジェネレータのファイル名を ...
https://man.mtool.work/php/8.3/reflectiongenerator.construct.html
ReflectionGenerator クラス | PHP 8.3 8748
ReflectionGenerator クラス (PHP 7, PHP 8) はじめに ReflectionGenerator クラスは、ジェネレータに関する情報を報告します。 クラス概要 final class ReflectionGenerator { /* メソッド */ public function __construct ( Generator $generator ) public ... function getExecutingFile (): string public function getExecutingGenerator (): Generator public function getExecutingLine (): int public function getFunction (): ReflectionFunctionAbstract public function getThis (): ? object public function ge ... イル名を取得する ReflectionGenerator::getExecutingGenerator — 実行中の Generator オブジェクトを取得する ReflectionGenerator::getExecutingLine — 現在実行中のジェネレータの行を取得する ReflectionGenerator::getFunction — ジェネレータの関数名を取得する ReflectionGener ...
https://man.mtool.work/php/8.3/class.reflectiongenerator.html
ReflectionGenerator::getExecutingFile — 現在実行中のジェネレータのファイル名を... 7573
ReflectionGenerator::getExecutingFile (PHP 7, PHP 8) ReflectionGenerator::getExecutingFile — 現在実行中のジェネレータのファイル名を取得する 説明 public function ReflectionGenerator::getExecutingFile (): string 現在実行中のジェネレータのファ ... tingFile ()} " ; 上の例の出力は、 たとえば以下のようになります。 File: /path/to/file/example.php 参考 ReflectionGenerator::getExecutingLine() - 現在実行中のジェネレータの行を取得する ReflectionGenerator::getExecutingGenerator() - 実行中の Generator オブジェクトを ...
https://man.mtool.work/php/8.3/reflectiongenerator.getexecutingfile.html
ReflectionGenerator::getExecutingGenerator — 実行中の Generator | PHP 8.3 7573
ReflectionGenerator::getExecutingGenerator (PHP 7, PHP 8) ReflectionGenerator::getExecutingGenerator — 実行中の Generator オブジェクトを取得する 説明 public function ReflectionGenerator::getExecutingGenerator (): Generator 実行中の Generato ... _dump ( $gen2 -> current ()); 上の例の出力は、 たとえば以下のようになります。 bool(true) int(1); 参考 ReflectionGenerator::getExecutingLine() - 現在実行中のジェネレータの行を取得する ReflectionGenerator::getExecutingFile() - 現在実行中のジェネレータのファイル名を ...
https://man.mtool.work/php/8.3/reflectiongenerator.getexecutinggenerator.html
リフレクション | PHP 8.3 6940
リフレクション はじめに PHP には完全なリフレクション API が付属しており、 クラス、インターフェイス、関数、メソッド、そして拡張モジュールについて 型やプロパティを実行時に調べることができます。 さらに、このリフレクション API は関数、クラス、メ ... イル名を取得する ReflectionGenerator::getExecutingGenerator — 実行中の Generator オブジェクトを取得する ReflectionGenerator::getExecutingLine — 現在実行中のジェネレータの行を取得する ReflectionGenerator::getFunction — ジェネレータの関数名を取得する ReflectionGener ... の構築に使われた callable を取得する ReflectionFiber::getExecutingFile — 現在実行中のファイル名を取得する ReflectionFiber::getExecutingLine — 現在実行中の行番号を取得する ReflectionFiber::getFiber — リフレクションされた Fiber クラスのインスタンスを取得する Refle ...
https://man.mtool.work/php/8.3/book.reflection.html
PREV 1 NEXT