Results of 1 - 6 of about 6 for unserialized (0.001 sec.)
- Serialization and deserialization of PHP variables into MongoDB | PHP 8.3 12941
- 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
... of YourClass, OurClass, TheirClass iterate over the array and set the properties without modifications. It also sets the $unserialized property to true : <?php function bsonUnserialize ( array $map ) { foreach ( $map as $k => $value ) { $this -> $k = $value ... ; } $this -> unserialized = true ; } /* typemap: [] (all defaults) */ { "foo": "yes", "bar" : false } -> stdClass { $foo => 'yes', $bar => false } { ... _pclass": { "$type" : "80", "$binary" : "OurClass") } -> OurClass { $foo => 'yes', $__pclass => Binary(0x80, 'OurClass'), $unserialized => true } { "foo": "yes", "__pclass": { "$type" : "44", "$binary" : "YourClass") } -> stdClass { $foo => 'yes', $__pclass ...
-
https://man.mtool.work/php/8.3/mongodb.persistence.html
- MongoDB\BSON\toPHP — Returns the PHP representation of a BSON value | PHP 8.3 9285
- 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
... ys, data could also be lost when decoding a BSON document with duplicate keys. パラメータ bson ( string ) BSON value to be unserialized. typeMap ( array ) Type map configuration . 戻り値 The unserialized PHP value. エラー / 例外 Throws MongoDB\Driver\Excepti ...
-
https://man.mtool.work/php/8.3/function.mongodb.bson-tophp.html
- Swoole\Channel::pop — Read and pop data from swoole channel. | PHP 8.3 8902
- Swoole\Channel::pop (PECL swoole >= 1.9.0) Swoole\Channel::pop — Read and pop data from swoole channel. 説明 public function Swoole\Channel::pop (): mixed パラメータ この関数にはパラメータはありません。 戻り値 If the channel is empty, the f
... unction will return false, or return the unserialized data. 他のマニュアルの関連ページ Vim channel ...
-
https://man.mtool.work/php/8.3/swoole-channel.pop.html
- MongoDB\Driver\CursorInterface::toArray — Returns an array containing all resul... 8518
- MongoDB\Driver\CursorInterface::toArray (mongodb >=1.6.0) MongoDB\Driver\CursorInterface::toArray — Returns an array containing all results for this cursor 説明 abstract public function MongoDB\Driver\CursorInterface::toArray (): array Iter
... and returns its results in an array. MongoDB\Driver\CursorInterface::setTypeMap() may be used to control how documents are unserialized into PHP values. パラメータ この関数にはパラメータはありません。 戻り値 Returns an array containing all results for this c ...
-
https://man.mtool.work/php/8.3/mongodb-driver-cursorinterface.toarray.html
- MongoDB\Driver\Cursor::toArray — Returns an array containing all results for th... 7750
- MongoDB\Driver\Cursor::toArray (mongodb >=1.0.0) MongoDB\Driver\Cursor::toArray — Returns an array containing all results for this cursor 説明 final public function MongoDB\Driver\Cursor::toArray (): array Iterates the cursor and returns it
... s results in an array. MongoDB\Driver\Cursor::setTypeMap() may be used to control how documents are unserialized into PHP values. パラメータ この関数にはパラメータはありません。 戻り値 Returns an array containing all results for this c ...
-
https://man.mtool.work/php/8.3/mongodb-driver-cursor.toarray.html
- Using the PHP Library for MongoDB (PHPLIB) | PHP 8.3 7366
- Using the PHP Library for MongoDB (PHPLIB) After the initial extension set-up, we will continue explaining how to get started with the corresponding userland library to write our first project. Installing the PHP Library with Composer The l
... '_id' ], ': ' , $entry [ 'name' ], "\n" ; } ?> While it may not be apparent in the examples, BSON documents and arrays are unserialized as special classes in the library by default. These classes extend ArrayObject for usability and implement the extension's ...
-
https://man.mtool.work/php/8.3/mongodb.tutorial.library.html
PREV
1
NEXT