Results of 11 - 20 of about 167 for Try (0.015 sec.)
- システムの平均負荷を取得する 6916
- « sleep time_nanosleep » PHP Manual その他の関数 システムの平均負荷を取得する sys_getloadavg (PH
...
[ 0 ] > 0.80 ) { header ( 'HTTP/1.1 503 Too busy, try again later' ); die( 'Server too busy. Please try ...
-
https://man.plustar.jp/php/function.sys-getloadavg.html
- [similar]
- SplFixedArray クラス 6803
- « SplPriorityQueue::valid SplFixedArray::__construct » PHP Manual データ構造 SplFixedArray クラス
...
xception: Index invalid or out of range となります try { var_dump ( $array [ "non-numeric" ]); } catch( R ...
ntimeException: " . $re -> getMessage (). "\n" ; } try { var_dump ( $array [- 1 ]); } catch( RuntimeExcep ...
ntimeException: " . $re -> getMessage (). "\n" ; } try { var_dump ( $array [ 5 ]); } catch( RuntimeExcept ...
-
https://man.plustar.jp/php/class.splfixedarray.html
- [similar]
- 直前の Throwable を返す 6803
- « Error::getMessage Error::getCode » PHP Manual Error 直前の Throwable を返す Error::getPrevious
...
CustomError extends Error {} function doStuff () { try { throw new InvalidArgumentError ( "You are doing ...
stomError ( "Something happened" , 911 , $e ); } } try { doStuff (); } catch( Error $e ) { do { printf ( ...
-
https://man.plustar.jp/php/error.getprevious.html
- [similar]
- 前の例外(Throwable)を返す 6678
- « Exception::getMessage Exception::getCode » PHP Manual Exception 前の例外(Throwable)を返す Exce
...
ception extends Exception {} function doStuff () { try { throw new InvalidArgumentException ( "You are do ...
Exception ( "Something happened" , 911 , $e ); } } try { doStuff (); } catch( Exception $e ) { do { print ...
-
https://man.plustar.jp/php/exception.getprevious.html
- [similar]
- mysqli のエラー報告モードを設定する 6564
- « mysqli_driver::embedded_server_start mysqli_warning » PHP Manual mysqli_driver mysqli のエラー
...
r (); $driver -> report_mode = MYSQLI_REPORT_ALL ; try { /* 接続が失敗すると, mysqli_sql_exception がスロ ...
reporting */ mysqli_report ( MYSQLI_REPORT_ALL ); try { /* 接続が失敗すると, mysqli_sql_exception がスロ ...
rt ( MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT ); try { /* 接続が失敗すると, mysqli_sql_exception がスロ ...
-
https://man.plustar.jp/php/mysqli-driver.report-mode.html
- [similar]
- phar のグローバルメタデータを削除する 6564
- « Phar::decompressFiles Phar::delete » PHP Manual Phar phar のグローバルメタデータを削除する Pha
...
た場合に true を返します。しかし、より安全を期すなら try/catch ブロック内で使用して例外がスローされないこと ...
スローします。 例 例1 Phar::delMetaData() の例 <?php try { $phar = new Phar ( 'myphar.phar' ); var_dump ( $ ...
-
https://man.plustar.jp/php/phar.delmetadata.html
- [similar]
- Receives a message 6564
- « ZMQSocket::isPersistent ZMQSocket::recvMulti » PHP Manual ZMQSocket Receives a message ZMQSock
...
es = 5 ; $sending = true ; /* Start a loop */ do { try { /* Try to send / receive */ if ( $sending ) { ec ...
AIN means that the operation would have blocked, retry */ if ( $e -> getCode () === ZMQ :: ERR_EAGAIN ) { ...
echo " - Got EAGAIN, retrying ( $retries )\n" ; } else { die( " - Error: " . ...
。 Sending message - Unable to execute operation, retrying (4) Got response: This is a message 関連キーワー ...
-
https://man.plustar.jp/php/zmqsocket.recv.html
- [similar]
- The MongoDB\Driver\ServerApi class 6338
- « MongoDB\Driver\ClientEncryption::encrypt MongoDB\Driver\ServerApi::bsonSerialize » PHP Manual
...
MongoDB \ Driver \ Command ([ 'buildInfo' => 1 ]); try { $cursor = $manager -> executeCommand ( 'admin' , ...
MongoDB \ Driver \ Command ([ 'buildInfo' => 1 ]); try { $cursor = $manager -> executeCommand ( 'admin' , ...
-
https://man.plustar.jp/php/class.mongodb-driver-serverapi.html
- [similar]
- エラーおよびエラー処理 6338
- « プリペアドステートメントおよびストアドプロシージャ ラージオブジェクト (LOB) » PHP Manual PDO エ
...
0.0.1' ; $user = 'dbuser' ; $password = 'dbpass' ; try { $dbh = new PDO ( $dsn , $user , $password ); $db ...
RRMODE を WARNING にした場合でも、コンストラクタを try/catch で囲むのは有効です。 接続に失敗した場合、ERR ...
onstruct が PDOException をスローするからです。 */ try { $dbh = new PDO ( $dsn , $user , $password , arra ...
-
https://man.plustar.jp/php/pdo.error-handling.html
- [similar]
- Constructs an EvTimer watcher object 6224
- « EvTimer::again EvTimer::createStopped » PHP Manual EvTimer Constructs an EvTimer watcher objec
...
: RUN_ONCE ); echo "Restart the second watcher and try to handle the same events, but don't block\n" ; $w ...
created as stopped Restart the second watcher and try to handle the same events, but don't block Running ...
-
https://man.plustar.jp/php/evtimer.construct.html
- [similar]