« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 14 for happened (0.002 sec.)
直前の Throwable を返す 11518
« Error::getMessage Error::getCode » PHP Manual Error 直前の Throwable を返す 検索 Error::getPrevious (PHP 7, PHP 8) Error::getPrevious — 直前の Throwable を返す 説明 final public function Error::getPrevious (): ? Throwable 直前の Throwable ... try { throw new TypeError ( "You are doing it wrong!" , 112 ); } catch( Error $e ) { throw new MyCustomError ( "Something happened" , 911 , $e ); } } try { doStuff (); } catch( Error $e ) { do { printf ( "%s:%d %s (%d) [%s]\n" , $e -> getFile (), $e -> ... ; } while( $e = $e -> getPrevious ()); } ?> 上の例の出力は、 たとえば以下のようになります。 /home/bjori/ex.php:8 Something happened (911) [MyCustomError] /home/bjori/ex.php:6 You are doing it wrong! (112) [TypeError] 参考 Throwable::getPrevious() - ひとつ ... 関連キーワード: Throwable getPrevious MyCustomError getMessage getCode doStuff throw TypeError doing wrong catch Something happened home bjori final construct トレース ループ extends printf getFile getLine while 参考 ...
https://man.mtool.work/php/8.3/error.getprevious.html
前の例外(Throwable)を返す 11308
« Exception::getMessage Exception::getCode » PHP Manual Exception 前の例外(Throwable)を返す 検索 Exception::getPrevious (PHP 5 >= 5.3.0, PHP 7, PHP 8) Exception::getPrevious — 前の例外(Throwable)を返す 説明 final public function Exception:: ... dArgumentException ( "You are doing it wrong!" , 112 ); } catch( Exception $e ) { throw new MyCustomException ( "Something happened" , 911 , $e ); } } try { doStuff (); } catch( Exception $e ) { do { printf ( "%s:%d %s (%d) [%s]\n" , $e -> getFile (), $e ... ; } while( $e = $e -> getPrevious ()); } ?> 上の例の出力は、 たとえば以下のようになります。 /home/bjori/ex.php:8 Something happened (911) [MyCustomException] /home/bjori/ex.php:6 You are doing it wrong! (112) [InvalidArgumentException] 参考 Throwable::ge ... owable getPrevious MyCustomException getMessage getCode doStuff throw InvalidArgumentException doing wrong catch Something happened home bjori final construct トレース ループ extends printf getFile getLine while ...
https://man.mtool.work/php/8.3/exception.getprevious.html
Feeds the given revents set into the event loop 11098
« EvWatcher::__construct EvWatcher::getLoop » PHP Manual EvWatcher Feeds the given revents set into the event loop 検索 EvWatcher::feed (PECL ev >= 0.2.0) EvWatcher::feed — Feeds the given revents set into the event loop 説明 public functio ... n EvWatcher::feed ( int $revents ): void Feeds the given revents set into the event loop, as if the specified event had happened for the watcher. パラメータ revents Bit mask of watcher received events . 戻り値 値を返しません。 関連キーワード: revents ... EvWatcher event Feeds given set loop feed watcher construct Search getLoop ev function int void specified happened パラメータ Bit ...
https://man.mtool.work/php/8.3/evwatcher.feed.html
Feeds the given revents set into the event loop 11098
« EvWatcher::__construct EvWatcher::getLoop » PHP Manual EvWatcher Feeds the given revents set into the event loop 検索 EvWatcher::feed (PECL ev >= 0.2.0) EvWatcher::feed — Feeds the given revents set into the event loop 説明 public functio ... n EvWatcher::feed ( int $revents ): void Feeds the given revents set into the event loop, as if the specified event had happened for the watcher. パラメータ revents Bit mask of watcher received events . 戻り値 値を返しません。 関連キーワード: revents ... EvWatcher event Feeds given loop feed watcher construct getLoop specified happened mask received events ...
https://man.mtool.work/php/8.3/evwatcher.feed.html
直前の Throwable を返す 9225
« Error::getMessage Error::getCode » PHP Manual Error 直前の Throwable を返す 検索 Error::getPrevious (PHP 7, PHP 8) Error::getPrevious — 直前の Throwable を返す 説明 final public function Error::getPrevious (): ? Throwable 直前の Throwable ... try { throw new TypeError ( "You are doing it wrong!" , 112 ); } catch( Error $e ) { throw new MyCustomError ( "Something happened" , 911 , $e ); } } try { doStuff (); } catch( Error $e ) { do { printf ( "%s:%d %s (%d) [%s]\n" , $e -> getFile (), $e -> ... ; } while( $e = $e -> getPrevious ()); } ?> 上の例の出力は、 たとえば以下のようになります。 /home/bjori/ex.php:8 Something happened (911) [MyCustomError] /home/bjori/ex.php:6 You are doing it wrong! (112) [TypeError] 参考 Throwable::getPrevious() - ひとつ ...
https://man.mtool.work/php/8.3/error.getprevious.html
前の例外(Throwable)を返す 9032
« Exception::getMessage Exception::getCode » PHP Manual Exception 前の例外(Throwable)を返す 検索 Exception::getPrevious (PHP 5 >= 5.3.0, PHP 7, PHP 8) Exception::getPrevious — 前の例外(Throwable)を返す 説明 final public function Exception:: ... dArgumentException ( "You are doing it wrong!" , 112 ); } catch( Exception $e ) { throw new MyCustomException ( "Something happened" , 911 , $e ); } } try { doStuff (); } catch( Exception $e ) { do { printf ( "%s:%d %s (%d) [%s]\n" , $e -> getFile (), $e ... ; } while( $e = $e -> getPrevious ()); } ?> 上の例の出力は、 たとえば以下のようになります。 /home/bjori/ex.php:8 Something happened (911) [MyCustomException] /home/bjori/ex.php:6 You are doing it wrong! (112) [InvalidArgumentException] 参考 Throwable::ge ...
https://man.mtool.work/php/8.3/exception.getprevious.html
Throwable errors 8192
« Error Handling Diagnostic errors » PHP Manual Error Handling Throwable errors 検索 Throwable errors A Throwable error is an execution event which disrupts the normal flow of instructions. When a Throwable error is throw n, be that by the ... stomFunction () { echo "A custom function for this type of exception\n" ; } } try { throw new CustomException ( "Something happened" , 5 ); } catch ( CustomException $e ) { echo "Caught custom exception\n" , $e ; $e -> customFunction (); } 上の例の出力は ... 以下となります。 Caught custom exception CustomException: [5]: Something happened A custom function for this type of exception Throwable hierarchy Throwable Error ArithmeticError DivisionByZeroError Asser ...
https://man.mtool.work/php/8.3/language.error-handling.throwable.html
Throwable errors 8192
« Error Handling Diagnostic errors » PHP Manual Error Handling Throwable errors 検索 Throwable errors A Throwable error is an execution event which disrupts the normal flow of instructions. When a Throwable error is throw n, be that by the ... stomFunction () { echo "A custom function for this type of exception\n" ; } } try { throw new CustomException ( "Something happened" , 5 ); } catch ( CustomException $e ) { echo "Caught custom exception\n" , $e ; $e -> customFunction (); } 上の例の出力は ... 以下となります。 Caught custom exception CustomException: [5]: Something happened A custom function for this type of exception Throwable hierarchy Throwable Error ArithmeticError DivisionByZeroError Asser ...
https://man.mtool.work/php/8.3/language.error-handling.throwable.html
文字列 7579
« 浮動小数点数 数値形式の文字列 » PHP Manual 型 文字列 検索 文字列 string は、文字が連結されたものです。PHP では、 文字は 1 バイトと同じです。つまり、256 個の異なる文字を使用可能です。 これは、PHP が Unicode をネイティブにサポートしていない ... うべきです。 注意 : 有効な変数名にならない場合、ドル記号は文字列中でそのまま解釈されます: <?php echo "No interpolation $ has happened\n" ; echo "No interpolation $\n has happened\n" ; echo "No interpolation $2 has happened\n" ; ?> 上の例の出力は以下となりま ... す。 No interpolation $ has happened No interpolation $ has happened No interpolation $2 has happened 例17 配列の最初の次元やプロパティの値を補間させる <?php $ ...
https://man.mtool.work/php/8.3/language.types.string.html
文字列 7579
« 浮動小数点数 数値形式の文字列 » PHP Manual 型 文字列 検索 文字列 string は、文字が連結されたものです。PHP では、 文字は 1 バイトと同じです。つまり、256 個の異なる文字を使用可能です。 これは、PHP が Unicode をネイティブにサポートしていない ... うべきです。 注意 : 有効な変数名にならない場合、ドル記号は文字列中でそのまま解釈されます: <?php echo "No interpolation $ has happened\n" ; echo "No interpolation $\n has happened\n" ; echo "No interpolation $2 has happened\n" ; ?> 上の例の出力は以下となりま ... す。 No interpolation $ has happened No interpolation $ has happened No interpolation $2 has happened 例17 配列の最初の次元やプロパティの値を補間させる <?php $ ...
https://man.mtool.work/php/8.3/language.types.string.html
PREV 1 2 NEXT