« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 44 for getinfo (0.002 sec.)
MongoDB\Driver\WriteConcernError::getInfo — Returns metadata document for the W... 12771
MongoDB\Driver\WriteConcernError::getInfo (mongodb >=1.0.0) MongoDB\Driver\WriteConcernError::getInfo — Returns metadata document for the WriteConcernError 説明 final public function MongoDB\Driver\WriteConcernError::getInfo (): ? object パ ... 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
SplObjectStorage::getInfo — イテレータの現在のエントリに関連づけられたデータを... 11541
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
curl_getinfo — 特定のデータ転送に関する情報を得る | PHP 8.3 11434
curl_getinfo (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) curl_getinfo — 特定のデータ転送に関する情報を得る 説明 function curl_getinfo ( CurlHandle $handle , ? int $option = null ): mixed 直近のデータ転送に関する情報を取得します。 パラメータ handl ... 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
MongoDB\Driver\WriteError::getInfo — Returns metadata document for the WriteErr... 11203
MongoDB\Driver\WriteError::getInfo (mongodb >=1.0.0) MongoDB\Driver\WriteError::getInfo — Returns metadata document for the WriteError 説明 final public function MongoDB\Driver\WriteError::getInfo (): ? object パラメータ この関数にはパラメー ...
https://man.mtool.work/php/8.3/mongodb-driver-writeerror.getinfo.html
MongoDB\Driver\Server::getInfo — Returns an array of information describing thi... 10312
MongoDB\Driver\Server::getInfo (mongodb >=1.0.0) MongoDB\Driver\Server::getInfo — Returns an array of information describing this server 説明 final public function MongoDB\Driver\Server::getInfo (): array Returns an array of information des ... / 例外 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
The MongoDB\Driver\WriteConcernError class | PHP 8.3 8975
The MongoDB\Driver\WriteConcernError class (mongodb >=1.0.0) はじめに The MongoDB\Driver\WriteConcernError class encapsulates information about a write concern error and may be returned by MongoDB\Driver\WriteResult::getWriteConcernError() ... int $ code ; public readonly ? object $ info ; /* メソッド */ final public function getCode (): int final public function getInfo (): ? object final public function getMessage (): string } プロパティ message The error message. code The error code. info ... 次 MongoDB\Driver\WriteConcernError::getCode — Returns the WriteConcernError's error code MongoDB\Driver\WriteConcernError::getInfo — Returns metadata document for the WriteConcernError MongoDB\Driver\WriteConcernError::getMessage — Returns the WriteConc ...
https://man.mtool.work/php/8.3/class.mongodb-driver-writeconcernerror.html
The MongoDB\Driver\WriteError class | PHP 8.3 8760
The MongoDB\Driver\WriteError class (mongodb >=1.0.0) はじめに The MongoDB\Driver\WriteError class encapsulates information about a write error and may be returned as an array element from MongoDB\Driver\WriteResult::getWriteErrors() . クラ ... $ info ; /* メソッド */ final public function getCode (): int final public function getIndex (): int final public function getInfo (): ? object final public function getMessage (): string } プロパティ message The error message. code The error code. inde ... riteError::getIndex — Returns the index of the write operation corresponding to this WriteError MongoDB\Driver\WriteError::getInfo — Returns metadata document for the WriteError MongoDB\Driver\WriteError::getMessage — Returns the WriteError's error mess ...
https://man.mtool.work/php/8.3/class.mongodb-driver-writeerror.html
新機能 | PHP 8.3 8760
新機能 PHP コア パイプ演算子 パイプ演算子( |> ) が追加されました。 <?php $result = "Hello World" |> strlen (...); print $result . PHP_EOL ; // Prints "11" 定数式にクロージャ 定数式に、 クロージャ や 第一級callable を指定できるようになりまし ... arePersistentHandle のサポートが追加されました。 これを使うと、より効率的な接続の再利用が安全にできるようになります。 curl_getinfo() 関数に、 CURLINFO_USED_PROXY (libcurl >= 8.7.0), CURLINFO_HTTPAUTH_USED (libcurl >= 8.12.0), CURLINFO_PROXYAUTH_USED (li ... bcurl >= 8.12.0) のサポートが追加されました。 curl_getinfo() が配列を返す場合、 これらの情報は "used_proxy" , "httpauth_used" , "proxyauth_used" というキーで利用できます。 CURLINFO_ ... しても、それ以上はリダイレクトしません。 CURLFOLLOW_ALL は、 CURLOPT_FOLLOWLOCATION を true に設定することと同じです。 curl_getinfo() 関数に、 CURLINFO_CONN_ID のサポートが追加されました (libcurl >= 8.2.0)。 この定数を使うと、 cURL の転送で使ったユニーク ...
https://man.mtool.work/php/8.3/migration85.new-features.html
MongoDB\Driver\ServerDescription::getHelloResponse — Returns the server's most ... 8760
MongoDB\Driver\ServerDescription::getHelloResponse (mongodb >=1.13.0) MongoDB\Driver\ServerDescription::getHelloResponse — Returns the server's most recent "hello" response 説明 final public function MongoDB\Driver\ServerDescription::getHel ... is method will return an empty array since load balancers are not monitored. This is in contrast to MongoDB\Driver\Server::getInfo() , which would return the backing server's » hello command response from the initial connection handshake. パラメータ この ... ラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 MongoDB\Driver\Server::getInfo() - Returns an array of information describing this server » hello command in the MongoDB manual » Server Discovery and Mo ...
https://man.mtool.work/php/8.3/mongodb-driver-serverdescription.gethelloresponse...
SplObjectStorage::current — 現在のストレージの要素を返す | PHP 8.3 8083
SplObjectStorage::current (PHP 5 >= 5.1.0, PHP 7, PHP 8) SplObjectStorage::current — 現在のストレージの要素を返す 説明 public function SplObjectStorage::current (): object 現在のストレージの要素を返します。 パラメータ この関数にはパラメータ ... 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 ... xt() - 次のエントリに移動する SplObjectStorage::valid() - イテレータの現在のエントリが有効かどうかを返す SplObjectStorage::getInfo() - イテレータの現在のエントリに関連づけられたデータを返す 他のマニュアルの関連ページ Docker コンテナ内にデータを保管 Dock ...
https://man.mtool.work/php/8.3/splobjectstorage.current.html
PREV 1 2 3 4 5 NEXT