« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for Serializes (0.001 sec.)
MongoDB\BSON\fromPHP — Returns the BSON representation of a PHP value | PHP 8.3 11228
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\ ... Document::fromPHP() instead. 説明 function MongoDB\BSON\fromPHP ( array | object $value ): string Serializes a PHP array or object (e.g. document) to its » BSON representation. The returned binary string will describe a BSON docume ...
https://man.mtool.work/php/8.3/function.mongodb.bson-fromphp.html
Serialization and deserialization of PHP variables into MongoDB | PHP 8.3 7485
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 ... ciative (string) keys, the keys don't start at 0, or when there are gaps:: BSON object A top-level (root) document, always serializes as a BSON document. Examples These serialize as a BSON array: [ 8, 5, 2, 3 ] => [ 8, 5, 2, 3 ] [ 0 => 4, 1 => 9 ] => [ 4, ... B\BSON\Type instances (excluding MongoDB\BSON\Serializable may only be serialized as a document field value. Attempting to serialize such an object as a root document will throw a MongoDB\Driver\Exception\UnexpectedValueException If an object is of an unkn ...
https://man.mtool.work/php/8.3/mongodb.persistence.html
PREV 1 NEXT