« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for getIndex (0.003 sec.)
MongoDB\Driver\WriteError::getIndex — Returns the index of the write operation ... 12834
MongoDB\Driver\WriteError::getIndex (mongodb >=1.0.0) MongoDB\Driver\WriteError::getIndex — Returns the index of the write operation corresponding to this WriteError 説明 final public function MongoDB\Driver\WriteError::getIndex (): int パラ ... 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\WriteError::getIndex() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWrite ; $bulk -> insert ([ '_id' => ... } catch( MongoDB\Driver\Exception\BulkWriteException $e ) { var_dump ( $e -> getWriteResult ()-> getWriteErrors ()[ 0 ]-> getIndex ()); } ?> 上の例の出力は、 たとえば以下のようになります。 int(1) 参考 MongoDB\Driver\BulkWrite 他のマニュアルの関連ページ ...
https://man.mtool.work/php/8.3/mongodb-driver-writeerror.getindex.html
ImagickPixel::getIndex — pixel wand のカラーマップインデックスを取得する | PHP ... 11270
ImagickPixel::getIndex (PECL imagick 2 >= 2.3.0, PECL imagick 3) ImagickPixel::getIndex — pixel wand のカラーマップインデックスを取得する 説明 public function ImagickPixel::getIndex (): int pixel wand のカラーマップインデックスを取得します。 ...
https://man.mtool.work/php/8.3/imagickpixel.getindex.html
The MongoDB\Driver\WriteError class | PHP 8.3 9454
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() . クラ ... int $ index ; public readonly ? object $ info ; /* メソッド */ final public function getCode (): int final public function getIndex (): int final public function getInfo (): ? object final public function getMessage (): string } プロパティ message The er ... donly properties. 目次 MongoDB\Driver\WriteError::getCode — Returns the WriteError's error code MongoDB\Driver\WriteError::getIndex — Returns the index of the write operation corresponding to this WriteError MongoDB\Driver\WriteError::getInfo — Returns m ...
https://man.mtool.work/php/8.3/class.mongodb-driver-writeerror.html
ImagickPixel クラス | PHP 8.3 8861
ImagickPixel クラス (PECL imagick 2, PECL imagick 3) クラス概要 class ImagickPixel { public function clear (): bool public function __construct ( string $color = ? ) public function destroy (): bool public function getColor ( int $normalize ... ): float public function getColorValueQuantum ( int $color ): int | float public function getHSL (): array public function getIndex (): int public function isPixelSimilar ( ImagickPixel $color , float $fuzz ): bool public function isPixelSimilarQuantum ( ... 色の quantum 値を取得する ImagickPixel::getHSL — ImagickPixel オブジェクトの HSL カラーを正規化したものを返す ImagickPixel::getIndex — pixel wand のカラーマップインデックスを取得する ImagickPixel::isPixelSimilar — この色と別の色の差を調べる ImagickPixel:: ...
https://man.mtool.work/php/8.3/class.imagickpixel.html
MongoDB\Driver\BulkWrite::__construct — Create a new BulkWrite | PHP 8.3 7909
MongoDB\Driver\BulkWrite::__construct (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::__construct — Create a new BulkWrite 説明 public function MongoDB\Driver\BulkWrite::__construct ( ? array $options = null ) Constructs a new MongoDB\Driver\Bu ... plete at all foreach ( $result -> getWriteErrors () as $writeError ) { printf ( "Operation#%d: %s (%d)\n" , $writeError -> getIndex (), $writeError -> getMessage (), $writeError -> getCode () ); } } catch ( MongoDB\Driver\Exception\Exception $e ) { print ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.construct.html
The MongoDB\Driver\BulkWrite class | PHP 8.3 7819
The MongoDB\Driver\BulkWrite class (mongodb >=1.0.0) はじめに The MongoDB\Driver\BulkWrite collects one or more write operations that should be sent to the server. After adding any number of insert, update, and delete operations, the collec ... plete at all foreach ( $result -> getWriteErrors () as $writeError ) { printf ( "Operation#%d: %s (%d)\n" , $writeError -> getIndex (), $writeError -> getMessage (), $writeError -> getCode () ); } } catch ( MongoDB\Driver\Exception\Exception $e ) { print ...
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwrite.html
MongoDB\Driver\Manager::executeBulkWrite — Execute one or more write operations... 7819
MongoDB\Driver\Manager::executeBulkWrite (mongodb >=1.0.0) MongoDB\Driver\Manager::executeBulkWrite — Execute one or more write operations 説明 final public function MongoDB\Driver\Manager::executeBulkWrite ( string $namespace , MongoDB\Dri ... en at all */ foreach ( $result -> getWriteErrors () as $writeError ) { printf ( "Operation#%d: %s (%d)\n" , $writeError -> getIndex (), $writeError -> getMessage (), $writeError -> getCode ()); } ?> 上の例の出力は、 たとえば以下のようになります。 Inserte ...
https://man.mtool.work/php/8.3/mongodb-driver-manager.executebulkwrite.html
画像処理 (ImageMagick) | PHP 8.3 7477
画像処理 (ImageMagick) はじめに 警告 この拡張モジュールは、 実験的 なものです。この拡張モジュールの動作・ 関数名・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 このモジュールは ... 色の quantum 値を取得する ImagickPixel::getHSL — ImagickPixel オブジェクトの HSL カラーを正規化したものを返す ImagickPixel::getIndex — pixel wand のカラーマップインデックスを取得する ImagickPixel::isPixelSimilar — この色と別の色の差を調べる ImagickPixel:: ...
https://man.mtool.work/php/8.3/book.imagick.html
サンプル | PHP 8.3 7387
サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力する (配列要素) Example#4 - 制御構造 および 関数の使用例 ... or::getMessage example Example#1543 - MongoDB\Driver\WriteError::getCode example Example#1544 - MongoDB\Driver\WriteError::getIndex example Example#1545 - MongoDB\Driver\WriteError::getMessage example Example#1546 - MongoDB\Driver\WriteResult::getDeleted ...
https://man.mtool.work/php/8.3/indexes.examples.html
PREV 1 NEXT