Results of 1 - 10 of about 139 for getFile (0.002 sec.)
- Error::getFile — エラーが起きたファイルを取得する | PHP 8.3 14709
- Error::getFile (PHP 7, PHP 8) Error::getFile — エラーが起きたファイルを取得する 説明 final public function Error::getFile (): string エラーが起きたファイル名を取得します パラメータ この関数にはパラメータはありません。 戻り値 エラーが起きたフ
... ァイル名を返します 例 例1 Error::getFile() の例 <?php try { throw new Error ; } catch( Error $e ) { echo $e -> getFile (); } ?> 上の例の出力は、 たとえば以下のよう ... になります。 /home/bjori/tmp/ex.php 参考 Throwable::getFile() - オブジェクトが作られたファイル名を取得する ...
-
https://man.mtool.work/php/8.3/error.getfile.html
- Exception::getFile — 例外が作られたファイルを取得する | PHP 8.3 14578
- Exception::getFile (PHP 5, PHP 7, PHP 8) Exception::getFile — 例外が作られたファイルを取得する 説明 final public function Exception::getFile (): string 例外が作られたファイルの名前を取得します。 パラメータ この関数にはパラメータはありません
... 。 戻り値 例外が作られたファイルの名前を返します。 例 例1 Exception::getFile() の例 <?php try { throw new Exception ; } catch( Exception $e ) { echo $e -> getFile (); } ?> 上の例の出力は、 たとえば以 ... 下のようになります。 /home/bjori/tmp/ex.php 参考 Throwable::getFile() - オブジェクトが作られたファイル名を取得する ...
-
https://man.mtool.work/php/8.3/exception.getfile.html
- Throwable::getFile — オブジェクトが作られたファイル名を取得する | PHP 8.3 11748
- Throwable::getFile (PHP 7, PHP 8) Throwable::getFile — オブジェクトが作られたファイル名を取得する 説明 public function Throwable::getFile (): string スローされたオブジェクトが作られたファイル名を取得します。 パラメータ この関数にはパラメータ
... はありません。 戻り値 スローされたオブジェクトが作られたファイル名を返します。 参考 Exception::getFile() - 例外が作られたファイルを取得する ...
-
https://man.mtool.work/php/8.3/throwable.getfile.html
- Exception | PHP 8.3 6829
- Exception (PHP 5, PHP 7, PHP 8) はじめに Exception は、 通常の動作中に処理できる例外の基底クラスです。 クラス概要 class Exception implements Throwable { /* プロパティ */ protected string $ message = "" ; private string $ string = "" ; prote
... e (): string final public function getPrevious (): ? Throwable final public function getCode (): int final public function getFile (): string final public function getLine (): int final public function getTrace (): array final public function getTraceAs ... メッセージを取得する Exception::getPrevious — 前の例外(Throwable)を返す Exception::getCode — 例外コードを取得する Exception::getFile — 例外が作られたファイルを取得する Exception::getLine — 例外が作られた行を取得する Exception::getTrace — スタックトレースを ...
-
https://man.mtool.work/php/8.3/class.exception.html
- Throwable | PHP 8.3 6829
- Throwable (PHP 7, PHP 8) はじめに Throwable は、 throw 文でスロー可能なあらゆるオブジェクトが実装する基底インターフェイスです。 Error や Exception も、これを実装しています。 注意 : PHP のクラスが Throwable インターフェイスを直接実装すること
... extends Stringable { /* メソッド */ public function getMessage (): string public function getCode (): int public function getFile (): string public function getLine (): int public function getTrace (): array public function getTraceAsString (): string ... 新たに実装しました。 目次 Throwable::getMessage — メッセージを取得する Throwable::getCode — 例外コードを取得する Throwable::getFile — オブジェクトが作られたファイル名を取得する Throwable::getLine — オブジェクトのインスタンスが作られた行番号を取得する Thr ...
-
https://man.mtool.work/php/8.3/class.throwable.html
- Error | PHP 8.3 6578
- Error (PHP 7, PHP 8) はじめに Error は、プログラミング上の誤りを示すエラーの基底クラスです。 こうしたエラーは一般に、通常の動作中に処理するのではなく、 プログラムを修正して対処する必要があります。 クラス概要 class Error implements Throwable
... e (): string final public function getPrevious (): ? Throwable final public function getCode (): int final public function getFile (): string final public function getLine (): int final public function getTrace (): array final public function getTraceAs ... e — エラーメッセージを取得する Error::getPrevious — 直前の Throwable を返す Error::getCode — エラーコードを取得する Error::getFile — エラーが起きたファイルを取得する Error::getLine — エラーが起きた行番号を取得する Error::getTrace — スタックトレースを取得 ...
-
https://man.mtool.work/php/8.3/class.error.html
- The ZMQContextException class | PHP 8.3 6208
- The ZMQContextException class (PECL zmq >= 0.5.0) はじめに クラス概要 class ZMQContextException extends ZMQException { /* プロパティ */ /* 継承したメソッド */ final public function Exception::getMessage (): string final public function Exce
... ption::getPrevious (): ? Throwable final public function Exception::getCode (): int final public function Exception::getFile (): string final public function Exception::getLine (): int final public function Exception::getTrace (): array final publ ...
-
https://man.mtool.work/php/8.3/class.zmqcontextexception.html
- The ZMQDeviceException class | PHP 8.3 6208
- The ZMQDeviceException class (PECL zmq >= 0.5.0) はじめに クラス概要 class ZMQDeviceException extends ZMQException { /* プロパティ */ /* 継承したメソッド */ final public function Exception::getMessage (): string final public function Except
... ion::getPrevious (): ? Throwable final public function Exception::getCode (): int final public function Exception::getFile (): string final public function Exception::getLine (): int final public function Exception::getTrace (): array final publ ...
-
https://man.mtool.work/php/8.3/class.zmqdeviceexception.html
- The ZMQException class | PHP 8.3 6208
- The ZMQException class (PECL zmq >= 0.5.0) はじめに クラス概要 class ZMQException extends Exception { /* プロパティ */ /* 継承したメソッド */ final public function Exception::getMessage (): string final public function Exception::getPreviou
... s (): ? Throwable final public function Exception::getCode (): int final public function Exception::getFile (): string final public function Exception::getLine (): int final public function Exception::getTrace (): array final publ ...
-
https://man.mtool.work/php/8.3/class.zmqexception.html
- The ZMQPollException class | PHP 8.3 6208
- The ZMQPollException class (PECL zmq >= 0.5.0) はじめに クラス概要 class ZMQPollException extends ZMQException { /* プロパティ */ /* 継承したメソッド */ final public function Exception::getMessage (): string final public function Exception:
... :getPrevious (): ? Throwable final public function Exception::getCode (): int final public function Exception::getFile (): string final public function Exception::getLine (): int final public function Exception::getTrace (): array final publ ...
-
https://man.mtool.work/php/8.3/class.zmqpollexception.html