« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 15 for toPHP (0.002 sec.)
MongoDB\BSON\toPHP — Returns the PHP representation of a BSON value | PHP 8.3 12678
MongoDB\BSON\toPHP (mongodb >=1.0.0) MongoDB\BSON\toPHP — Returns the PHP representation of a BSON value 警告 This function has been DEPRECATED as of extension version 1.20.0 and was removed in 2.0. Applications should use MongoDB\BSON\Docu ... ment::toPHP() instead. 説明 function MongoDB\BSON\toPHP ( string $bson , array $typeMap = array() ): array | object Unserializes a BSO ... hrown if the input contains an unsupported, deprecated BSON type. Previously, such types were ignored. 例 例1 MongoDB\BSON\toPHP() example <?php $bson = hex2bin ( '0e00000010666f6f000100000000' ); $value = MongoDB\BSON\toPHP ( $bson ); var_dump ( $val ... ue ); ?> 上の例の出力は以下となります。 object(stdClass)#1 (1) { ["foo"]=> int(1) } 参考 MongoDB\BSON\Document::toPHP() - Returns the PHP representation of the BSON document MongoDB\BSON\fromPHP() - Returns the BSON representation of a PHP ...
https://man.mtool.work/php/8.3/function.mongodb.bson-tophp.html
MongoDB\BSON\PackedArray::toPHP — Returns the PHP representation of the BSON ar... 12138
MongoDB\BSON\PackedArray::toPHP (mongodb >=1.16.0) MongoDB\BSON\PackedArray::toPHP — Returns the PHP representation of the BSON array 説明 final public function MongoDB\BSON\PackedArray::toPHP ( ? array $typeMap = null ): array | object パラ ... on if a class in the type map cannot be instantiated or does not implement MongoDB\BSON\Unserializable . 参考 MongoDB\BSON\toPHP() - Returns the PHP representation of a BSON value » BSON Types ...
https://man.mtool.work/php/8.3/mongodb-bson-packedarray.tophp.html
MongoDB\BSON\Document::toPHP — Returns the PHP representation of the BSON docum... 11337
MongoDB\BSON\Document::toPHP (mongodb >=1.16.0) MongoDB\BSON\Document::toPHP — Returns the PHP representation of the BSON document 説明 final public function MongoDB\BSON\Document::toPHP ( ? array $typeMap = null ): array | object Unseriali ... on if a class in the type map cannot be instantiated or does not implement MongoDB\BSON\Unserializable . 参考 MongoDB\BSON\toPHP() - Returns the PHP representation of a BSON value » BSON Types 他のマニュアルの関連ページ DuckDB Map Type DuckDB Full Duc ...
https://man.mtool.work/php/8.3/mongodb-bson-document.tophp.html
The MongoDB\BSON\PackedArray class | PHP 8.3 8638
The MongoDB\BSON\PackedArray class (mongodb >=1.16.0) はじめに Represents a BSON array. This class is used when reading data as raw BSON and cannot be modified. クラス概要 final class MongoDB\BSON\PackedArray implements MongoDB\BSON\Type , ... c function offsetUnset ( mixed $key ): void final public function toCanonicalExtendedJSON (): string final public function toPHP ( ? array $typeMap = null ): array | object final public function toRelaxedExtendedJSON (): string final public function _ ... ::toCanonicalExtendedJSON — Returns the Canonical Extended JSON representation of the BSON array MongoDB\BSON\PackedArray::toPHP — Returns the PHP representation of the BSON array MongoDB\BSON\PackedArray::toRelaxedExtendedJSON — Returns the Relaxed E ...
https://man.mtool.work/php/8.3/class.mongodb-bson-packedarray.html
The MongoDB\BSON\Document class | PHP 8.3 8551
The MongoDB\BSON\Document class (mongodb >=1.16.0) はじめに Represents a BSON document. This class is used when reading data as raw BSON and cannot be modified. クラス概要 final class MongoDB\BSON\Document implements MongoDB\BSON\Type , Arr ... c function offsetUnset ( mixed $key ): void final public function toCanonicalExtendedJSON (): string final public function toPHP ( ? array $typeMap = null ): array | object final public function toRelaxedExtendedJSON (): string final public function _ ... ::toCanonicalExtendedJSON — Returns the Canonical Extended JSON representation of the BSON document MongoDB\BSON\Document::toPHP — Returns the PHP representation of the BSON document MongoDB\BSON\Document::toRelaxedExtendedJSON — Returns the Relaxed E ...
https://man.mtool.work/php/8.3/class.mongodb-bson-document.html
関数 | PHP 8.3 8272
関数 目次 MongoDB\BSON\fromJSON — Returns the BSON representation of a JSON value MongoDB\BSON\fromPHP — Returns the BSON representation of a PHP value MongoDB\BSON\toCanonicalExtendedJSON — Returns the Canonical Extended JSON representatio ... n of a BSON value MongoDB\BSON\toJSON — Returns the Legacy Extended JSON representation of a BSON value MongoDB\BSON\toPHP — Returns the PHP representation of a BSON value MongoDB\BSON\toRelaxedExtendedJSON — Returns the Relaxed Extended JSON re ...
https://man.mtool.work/php/8.3/ref.bson.functions.html
Serialization and deserialization of PHP variables into MongoDB | PHP 8.3 7906
Serialization and deserialization of PHP variables into MongoDB This document discusses how compound structures (i.e. documents, arrays, and objects) are converted between BSON and PHP values. Serialization to BSON Arrays If an array is a p ... ON type. By default, the mongodb extension addresses this concern by ensuring that BSON arrays and documents are converted to PHP arrays and objects, respectively. For compound types, there are three data types: root refers to the top-level BSON docum ... the MongoDB\Driver\Cursor::setTypeMap() method on a MongoDB\Driver\Cursor object, or the $typeMap argument of MongoDB\BSON\toPHP() , MongoDB\BSON\Document::toPHP() , and MongoDB\BSON\PackedArray::toPHP() . Each of the three classes ( root , document , ...
https://man.mtool.work/php/8.3/mongodb.persistence.html
MongoDB\BSON\fromJSON — Returns the BSON representation of a JSON value | PHP 8... 7819
MongoDB\BSON\fromJSON (mongodb >=1.0.0) MongoDB\BSON\fromJSON — Returns the BSON representation of a JSON value 警告 This function has been DEPRECATED as of extension version 1.20.0 and was removed in 2.0. Applications should use MongoDB\BS ... son = '{ "_id": { "$oid": "563143b280d2387c91807965" } }' ; $bson = MongoDB\BSON\fromJSON ( $json ); $value = MongoDB\BSON\toPHP ( $bson ); var_dump ( $value ); ?> 上の例の出力は以下となります。 object(stdClass)#2 (1) { ["_id"]=> object(MongoDB\BSON\O ...
https://man.mtool.work/php/8.3/function.mongodb.bson-fromjson.html
MongoDB\BSON\fromPHP — Returns the BSON representation of a PHP value | PHP 8.3 7819
MongoDB\BSON\fromPHP (mongodb >=1.0.0) MongoDB\BSON\fromPHP — Returns the BSON representation of a PHP value 警告 This function has been DEPRECATED as of extension version 1.20.0 and was removed in 2.0. Applications should use MongoDB\BSON\ ... 010666f6f000100000000 参考 MongoDB\BSON\Document::fromPHP() - Construct a new document instance from PHP data MongoDB\BSON\toPHP() - Returns the PHP representation of a BSON value » MongoDB BSON Persisting Data 他のマニュアルの関連ページ Python binary ...
https://man.mtool.work/php/8.3/function.mongodb.bson-fromphp.html
MongoDB\BSON\Unserializable::bsonUnserialize — Constructs the object from a BSO... 7819
MongoDB\BSON\Unserializable::bsonUnserialize (mongodb >=1.0.0) MongoDB\BSON\Unserializable::bsonUnserialize — Constructs the object from a BSON array or document 説明 abstract public function MongoDB\BSON\Unserializable::bsonUnserialize ( a ... : void { $this -> data = $data ; } } $bson = MongoDB\BSON\Document :: fromJSON ( '{ "foo": "bar" }' ); var_dump ( $bson -> toPHP ([ 'root' => 'MyDocument' ])); ?> 上の例の出力は以下となります。 object(MyDocument)#1 (1) { ["data":"MyDocument":private]= ...
https://man.mtool.work/php/8.3/mongodb-bson-unserializable.bsonunserialize.html
PREV 1 2 NEXT