芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/vendor/mongodb/mongodb/src/Model/BSONArray.php
$value) { $this[$key] = recursive_copy($value); } } /** * Factory method for var_export(). * * @see http://php.net/oop5.magic#object.set-state * @see http://php.net/var-export * @param array $properties * @return self */ public static function __set_state(array $properties) { $array = new static(); $array->exchangeArray($properties); return $array; } /** * Serialize the array to BSON. * * The array data will be numerically reindexed to ensure that it is stored * as a BSON array. * * @see http://php.net/mongodb-bson-serializable.bsonserialize * @return array */ public function bsonSerialize() { return array_values($this->getArrayCopy()); } /** * Unserialize the document to BSON. * * @see http://php.net/mongodb-bson-unserializable.bsonunserialize * @param array $data Array data */ public function bsonUnserialize(array $data) { self::__construct($data); } /** * Serialize the array to JSON. * * The array data will be numerically reindexed to ensure that it is stored * as a JSON array. * * @see http://php.net/jsonserializable.jsonserialize * @return array */ #[ReturnTypeWillChange] public function jsonSerialize() { return array_values($this->getArrayCopy()); } }