Results of 1 - 10 of about 100 for getinfo (0.003 sec.)
- Returns metadata document for the WriteConcernError 10467
- « MongoDB\Driver\WriteConcernError::getCode MongoDB\Driver\WriteConcernError::getMessage » PHP Manual MongoDB\Driver\WriteConcernError Returns metadata document for the WriteConcernError 検索 MongoDB\Driver\WriteConcernError::getInfo (mongo
... db >=1.0.0) MongoDB\Driver\WriteConcernError::getInfo — Returns metadata document for the WriteConcernError 説明 final public function MongoDB\Driver\WriteConcernError::getInfo ... ows MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\WriteConcernError::getInfo() example <?php $manager = new MongoDB\Driver\Manager ( "mongodb://rs1.example.com,rs2.example.com/?replicaSet=myReplicaSe ... } catch( MongoDB\Driver\Exception\BulkWriteException $e ) { var_dump ( $e -> getWriteResult ()-> getWriteConcernError ()-> getInfo ()); } ?> 上の例の出力は、 たとえば以下のようになります。 object(stdClass)#1 (1) { ["wtimeout"]=> bool(true) } 参考 » Writ ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeconcernerror.getinfo.html
- Returns metadata document for the WriteConcernError 10467
- « MongoDB\Driver\WriteConcernError::getCode MongoDB\Driver\WriteConcernError::getMessage » PHP Manual MongoDB\Driver\WriteConcernError Returns metadata document for the WriteConcernError 検索 MongoDB\Driver\WriteConcernError::getInfo (mongo
... db >=1.0.0) MongoDB\Driver\WriteConcernError::getInfo — Returns metadata document for the WriteConcernError 説明 final public function MongoDB\Driver\WriteConcernError::getInfo ... ows MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\WriteConcernError::getInfo() example <?php $manager = new MongoDB\Driver\Manager ( "mongodb://rs1.example.com,rs2.example.com/?replicaSet=myReplicaSe ... } catch( MongoDB\Driver\Exception\BulkWriteException $e ) { var_dump ( $e -> getWriteResult ()-> getWriteConcernError ()-> getInfo ()); } ?> 上の例の出力は、 たとえば以下のようになります。 object(stdClass)#1 (1) { ["wtimeout"]=> bool(true) } 参考 » Writ ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeconcernerror.getinfo.html
- Returns metadata document for the WriteError 9661
- « MongoDB\Driver\WriteError::getIndex MongoDB\Driver\WriteError::getMessage » PHP Manual MongoDB\Driver\WriteError Returns metadata document for the WriteError 検索 MongoDB\Driver\WriteError::getInfo (mongodb >=1.0.0) MongoDB\Driver\WriteEr
... ror::getInfo — Returns metadata document for the WriteError 説明 final public function MongoDB\Driver\WriteError::getInfo (): ? object ... Exception\InvalidArgumentException on argument parsing errors. 関連キーワード: WriteError MongoDB Driver metadata document getInfo getIndex getMessage mongodb final available Throws Exception InvalidArgumentException argument parsing errors ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeerror.getinfo.html
- Returns metadata document for the WriteError 9583
- « MongoDB\Driver\WriteError::getIndex MongoDB\Driver\WriteError::getMessage » PHP Manual MongoDB\Driver\WriteError Returns metadata document for the WriteError 検索 MongoDB\Driver\WriteError::getInfo (mongodb >=1.0.0) MongoDB\Driver\WriteEr
... ror::getInfo — Returns metadata document for the WriteError 説明 final public function MongoDB\Driver\WriteError::getInfo (): ? object ... n\InvalidArgumentException on argument parsing errors. 関連キーワード: WriteError MongoDB Driver metadata Returns document getInfo パラメータ getIndex Search getMessage mongodb final function object 戻り値 null available 例外 Throws ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeerror.getinfo.html
- イテレータの現在のエントリに関連づけられたデータを返す 9505
- « SplObjectStorage::getHash SplObjectStorage::key » PHP Manual SplObjectStorage イテレータの現在のエントリに関連づけられたデータを返す 検索 SplObjectStorage::getInfo (PHP 5 >= 5.3.0, PHP 7, PHP 8) SplObjectStorage::getInfo — イテレータの現在
... のエントリに関連づけられたデータを返す 説明 public function SplObjectStorage::getInfo (): mixed イテレータの現在の位置が指すオブジェクトに関連づけられたデータあるいは情報を返します。 パラメータ この関数にはパ ... ラメータはありません。 戻り値 イテレータの現在の位置に関連づけられたデータを返します。 例 例1 SplObjectStorage::getInfo() の例 <?php $s = new SplObjectStorage (); $o1 = new stdClass ; $o2 = new stdClass ; $s -> attach ( $o1 , "d1" ); $s -> at ... rewind (); while( $s -> valid ()) { $index = $s -> key (); $object = $s -> current (); // current($s) と同等 $data = $s -> getInfo (); var_dump ( $object ); var_dump ( $data ); $s -> next (); } ?> 上の例の出力は、 たとえば以下のようになります。 object(s ...
-
https://man.mtool.work/php/8.3/splobjectstorage.getinfo.html
- イテレータの現在のエントリに関連づけられたデータを返す 9505
- « SplObjectStorage::getHash SplObjectStorage::key » PHP Manual SplObjectStorage イテレータの現在のエントリに関連づけられたデータを返す 検索 SplObjectStorage::getInfo (PHP 5 >= 5.3.0, PHP 7, PHP 8) SplObjectStorage::getInfo — イテレータの現在
... のエントリに関連づけられたデータを返す 説明 public function SplObjectStorage::getInfo (): mixed イテレータの現在の位置が指すオブジェクトに関連づけられたデータあるいは情報を返します。 パラメータ この関数にはパ ... ラメータはありません。 戻り値 イテレータの現在の位置に関連づけられたデータを返します。 例 例1 SplObjectStorage::getInfo() の例 <?php $s = new SplObjectStorage (); $o1 = new stdClass ; $o2 = new stdClass ; $s -> attach ( $o1 , "d1" ); $s -> at ... rewind (); while( $s -> valid ()) { $index = $s -> key (); $object = $s -> current (); // current($s) と同等 $data = $s -> getInfo (); var_dump ( $object ); var_dump ( $data ); $s -> next (); } ?> 上の例の出力は、 たとえば以下のようになります。 object(s ...
-
https://man.mtool.work/php/8.3/splobjectstorage.getinfo.html
- 特定のデータ転送に関する情報を得る 9258
- « curl_exec curl_init » PHP Manual cURL 関数 特定のデータ転送に関する情報を得る 検索 curl_getinfo (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) curl_getinfo — 特定のデータ転送に関する情報を得る 説明 function curl_getinfo ( CurlHandle $handle , ? in
... R_TIME_T , CURLINFO_REDIRECT_TIME_T , CURLINFO_STARTTRANSFER_TIME_T , CURLINFO_TOTAL_TIME_T が追加されました。 例 例1 curl_getinfo() の例 <?php // cURL ハンドルを作成します $ch = curl_init ( 'http://www.example.com/' ); // 実行します curl_exec ( $ch ); ... // エラーが発生したかどうかを調べます if (! curl_errno ( $ch )) { $info = curl_getinfo ( $ch ); echo 'Took ' , $info [ 'total_time' ], ' seconds to send a request to ' , $info [ 'url' ], "\n" ; } ?> 例2 curl_g ... // 実行します curl_exec ( $ch ); // HTTP ステータスコードを調べます if (! curl_errno ( $ch )) { switch ( $http_code = curl_getinfo ( $ch , CURLINFO_HTTP_CODE )) { case 200 : # OK break; default: echo 'Unexpected HTTP code: ' , $http_code , "\n" ; } } ?> ...
-
https://man.mtool.work/php/8.3/function.curl-getinfo.html
- 特定のデータ転送に関する情報を得る 9258
- « curl_exec curl_init » PHP Manual cURL 関数 特定のデータ転送に関する情報を得る 検索 curl_getinfo (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) curl_getinfo — 特定のデータ転送に関する情報を得る 説明 function curl_getinfo ( CurlHandle $handle , ? in
... R_TIME_T , CURLINFO_REDIRECT_TIME_T , CURLINFO_STARTTRANSFER_TIME_T , CURLINFO_TOTAL_TIME_T が追加されました。 例 例1 curl_getinfo() の例 <?php // cURL ハンドルを作成します $ch = curl_init ( 'http://www.example.com/' ); // 実行します curl_exec ( $ch ); ... // エラーが発生したかどうかを調べます if (! curl_errno ( $ch )) { $info = curl_getinfo ( $ch ); echo 'Took ' , $info [ 'total_time' ], ' seconds to send a request to ' , $info [ 'url' ], "\n" ; } ?> 例2 curl_g ... // 実行します curl_exec ( $ch ); // HTTP ステータスコードを調べます if (! curl_errno ( $ch )) { switch ( $http_code = curl_getinfo ( $ch , CURLINFO_HTTP_CODE )) { case 200 : # OK break; default: echo 'Unexpected HTTP code: ' , $http_code , "\n" ; } } ?> ...
-
https://man.mtool.work/php/8.3/function.curl-getinfo.html
- Returns an array of information describing this server 8530
- « MongoDB\Driver\Server::getHost MongoDB\Driver\Server::getLatency » PHP Manual MongoDB\Driver\Server Returns an array of information describing this server 検索 MongoDB\Driver\Server::getInfo (mongodb >=1.0.0) MongoDB\Driver\Server::getInfo
... o — Returns an array of information describing this server 説明 final public function MongoDB\Driver\Server::getInfo (): array Returns an array of information describing the server. This array is derived from the most recent » hello comman ... / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\Server::getInfo() example <?php $manager = new MongoDB\Driver\Manager ( 'mongodb://localhost:27017/' ); $rp = new MongoDB\Driver\ReadPrefe ... rence ( 'primary' ); $server = $manager -> selectServer ( $rp ); var_dump ( $server -> getInfo ()); ?> 上の例の出力は、 たとえば以下のようになります。 array(23) { ["helloOk"]=> bool(true) ["topologyVersion"]=> array(2 ...
-
https://man.mtool.work/php/8.3/mongodb-driver-server.getinfo.html
- Returns an array of information describing this server 8530
- « MongoDB\Driver\Server::getHost MongoDB\Driver\Server::getLatency » PHP Manual MongoDB\Driver\Server Returns an array of information describing this server 検索 MongoDB\Driver\Server::getInfo (mongodb >=1.0.0) MongoDB\Driver\Server::getInfo
... o — Returns an array of information describing this server 説明 final public function MongoDB\Driver\Server::getInfo (): array Returns an array of information describing the server. This array is derived from the most recent » hello comman ... / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\Server::getInfo() example <?php $manager = new MongoDB\Driver\Manager ( 'mongodb://localhost:27017/' ); $rp = new MongoDB\Driver\ReadPrefe ... rence ( 'primary' ); $server = $manager -> selectServer ( $rp ); var_dump ( $server -> getInfo ()); ?> 上の例の出力は、 たとえば以下のようになります。 array(23) { ["helloOk"]=> bool(true) ["topologyVersion"]=> array(2 ...
-
https://man.mtool.work/php/8.3/mongodb-driver-server.getinfo.html