object(MongoDB\Driver\Manager)#1 (2) {
["uri"]=>
string(90) "mongodb+srv://sorbonne:jussieu@cluster0-ofqos.mongodb.net/test?retryWrites=true&w=majority"
["cluster"]=>
array(3) {
[0]=>
array(11) {
["host"]=>
string(38) "cluster0-shard-00-01-ofqos.mongodb.net"
["port"]=>
int(27017)
["type"]=>
int(4)
["is_primary"]=>
bool(true)
["is_secondary"]=>
bool(false)
["is_arbiter"]=>
bool(false)
["is_hidden"]=>
bool(false)
["is_passive"]=>
bool(false)
["tags"]=>
array(6) {
["workloadType"]=>
string(11) "OPERATIONAL"
["diskState"]=>
string(5) "READY"
["provider"]=>
string(3) "AWS"
["nodeType"]=>
string(9) "ELECTABLE"
["availabilityZone"]=>
string(8) "use1-az1"
["region"]=>
string(9) "US_EAST_1"
}
["last_hello_response"]=>
array(25) {
["helloOk"]=>
bool(true)
["topologyVersion"]=>
array(2) {
["processId"]=>
object(MongoDB\BSON\ObjectId)#2 (1) {
["oid"]=>
string(24) "6920cdd027eac0ae17cd63f9"
}
["counter"]=>
int(6)
}
["hosts"]=>
array(3) {
[0]=>
string(44) "cluster0-shard-00-00-ofqos.mongodb.net:27017"
[1]=>
string(44) "cluster0-shard-00-01-ofqos.mongodb.net:27017"
[2]=>
string(44) "cluster0-shard-00-02-ofqos.mongodb.net:27017"
}
["setName"]=>
string(16) "Cluster0-shard-0"
["setVersion"]=>
int(156)
["isWritablePrimary"]=>
bool(true)
["secondary"]=>
bool(false)
["primary"]=>
string(44) "cluster0-shard-00-01-ofqos.mongodb.net:27017"
["tags"]=>
array(6) {
["workloadType"]=>
string(11) "OPERATIONAL"
["diskState"]=>
string(5) "READY"
["provider"]=>
string(3) "AWS"
["nodeType"]=>
string(9) "ELECTABLE"
["availabilityZone"]=>
string(8) "use1-az1"
["region"]=>
string(9) "US_EAST_1"
}
["me"]=>
string(44) "cluster0-shard-00-01-ofqos.mongodb.net:27017"
["electionId"]=>
object(MongoDB\BSON\ObjectId)#3 (1) {
["oid"]=>
string(24) "7fffffff00000000000001ad"
}
["lastWrite"]=>
array(4) {
["opTime"]=>
array(2) {
["ts"]=>
object(MongoDB\BSON\Timestamp)#4 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["t"]=>
int(429)
}
["lastWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#5 (1) {
["milliseconds"]=>
string(13) "1765264785000"
}
["majorityOpTime"]=>
array(2) {
["ts"]=>
object(MongoDB\BSON\Timestamp)#6 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["t"]=>
int(429)
}
["majorityWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#7 (1) {
["milliseconds"]=>
string(13) "1765264785000"
}
}
["maxBsonObjectSize"]=>
int(16777216)
["maxMessageSizeBytes"]=>
int(48000000)
["maxWriteBatchSize"]=>
int(100000)
["localTime"]=>
object(MongoDB\BSON\UTCDateTime)#8 (1) {
["milliseconds"]=>
string(13) "1765264785209"
}
["logicalSessionTimeoutMinutes"]=>
int(30)
["connectionId"]=>
int(1063499)
["minWireVersion"]=>
int(0)
["maxWireVersion"]=>
int(25)
["readOnly"]=>
bool(false)
["ok"]=>
float(1)
["$clusterTime"]=>
array(2) {
["clusterTime"]=>
object(MongoDB\BSON\Timestamp)#9 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["signature"]=>
array(2) {
["hash"]=>
object(MongoDB\BSON\Binary)#10 (2) {
["data"]=>
string(20) "Z±GžãnZ¨ÆôµÃŽŒ.ãàGÙ$"
["type"]=>
int(0)
}
["keyId"]=>
int(7528135659005935763)
}
}
["operationTime"]=>
object(MongoDB\BSON\Timestamp)#11 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["saslSupportedMechs"]=>
array(1) {
[0]=>
string(11) "SCRAM-SHA-1"
}
}
["round_trip_time"]=>
int(84)
}
[1]=>
array(11) {
["host"]=>
string(38) "cluster0-shard-00-00-ofqos.mongodb.net"
["port"]=>
int(27017)
["type"]=>
int(5)
["is_primary"]=>
bool(false)
["is_secondary"]=>
bool(true)
["is_arbiter"]=>
bool(false)
["is_hidden"]=>
bool(false)
["is_passive"]=>
bool(false)
["tags"]=>
array(6) {
["workloadType"]=>
string(11) "OPERATIONAL"
["region"]=>
string(9) "US_EAST_1"
["diskState"]=>
string(5) "READY"
["availabilityZone"]=>
string(8) "use1-az6"
["nodeType"]=>
string(9) "ELECTABLE"
["provider"]=>
string(3) "AWS"
}
["last_hello_response"]=>
array(24) {
["helloOk"]=>
bool(true)
["topologyVersion"]=>
array(2) {
["processId"]=>
object(MongoDB\BSON\ObjectId)#12 (1) {
["oid"]=>
string(24) "6920cba20eedae6dec3b53cd"
}
["counter"]=>
int(4)
}
["hosts"]=>
array(3) {
[0]=>
string(44) "cluster0-shard-00-00-ofqos.mongodb.net:27017"
[1]=>
string(44) "cluster0-shard-00-01-ofqos.mongodb.net:27017"
[2]=>
string(44) "cluster0-shard-00-02-ofqos.mongodb.net:27017"
}
["setName"]=>
string(16) "Cluster0-shard-0"
["setVersion"]=>
int(156)
["isWritablePrimary"]=>
bool(false)
["secondary"]=>
bool(true)
["primary"]=>
string(44) "cluster0-shard-00-01-ofqos.mongodb.net:27017"
["tags"]=>
array(6) {
["workloadType"]=>
string(11) "OPERATIONAL"
["region"]=>
string(9) "US_EAST_1"
["diskState"]=>
string(5) "READY"
["availabilityZone"]=>
string(8) "use1-az6"
["nodeType"]=>
string(9) "ELECTABLE"
["provider"]=>
string(3) "AWS"
}
["me"]=>
string(44) "cluster0-shard-00-00-ofqos.mongodb.net:27017"
["lastWrite"]=>
array(4) {
["opTime"]=>
array(2) {
["ts"]=>
object(MongoDB\BSON\Timestamp)#13 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["t"]=>
int(429)
}
["lastWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#14 (1) {
["milliseconds"]=>
string(13) "1765264785000"
}
["majorityOpTime"]=>
array(2) {
["ts"]=>
object(MongoDB\BSON\Timestamp)#15 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["t"]=>
int(429)
}
["majorityWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#16 (1) {
["milliseconds"]=>
string(13) "1765264785000"
}
}
["maxBsonObjectSize"]=>
int(16777216)
["maxMessageSizeBytes"]=>
int(48000000)
["maxWriteBatchSize"]=>
int(100000)
["localTime"]=>
object(MongoDB\BSON\UTCDateTime)#17 (1) {
["milliseconds"]=>
string(13) "1765264785209"
}
["logicalSessionTimeoutMinutes"]=>
int(30)
["connectionId"]=>
int(977719)
["minWireVersion"]=>
int(0)
["maxWireVersion"]=>
int(25)
["readOnly"]=>
bool(false)
["ok"]=>
float(1)
["$clusterTime"]=>
array(2) {
["clusterTime"]=>
object(MongoDB\BSON\Timestamp)#18 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["signature"]=>
array(2) {
["hash"]=>
object(MongoDB\BSON\Binary)#19 (2) {
["data"]=>
string(20) "Z±GžãnZ¨ÆôµÃŽŒ.ãàGÙ$"
["type"]=>
int(0)
}
["keyId"]=>
int(7528135659005935763)
}
}
["operationTime"]=>
object(MongoDB\BSON\Timestamp)#20 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["saslSupportedMechs"]=>
array(1) {
[0]=>
string(11) "SCRAM-SHA-1"
}
}
["round_trip_time"]=>
int(83)
}
[2]=>
array(11) {
["host"]=>
string(38) "cluster0-shard-00-02-ofqos.mongodb.net"
["port"]=>
int(27017)
["type"]=>
int(5)
["is_primary"]=>
bool(false)
["is_secondary"]=>
bool(true)
["is_arbiter"]=>
bool(false)
["is_hidden"]=>
bool(false)
["is_passive"]=>
bool(false)
["tags"]=>
array(6) {
["diskState"]=>
string(5) "READY"
["nodeType"]=>
string(9) "ELECTABLE"
["region"]=>
string(9) "US_EAST_1"
["provider"]=>
string(3) "AWS"
["workloadType"]=>
string(11) "OPERATIONAL"
["availabilityZone"]=>
string(8) "use1-az2"
}
["last_hello_response"]=>
array(24) {
["helloOk"]=>
bool(true)
["topologyVersion"]=>
array(2) {
["processId"]=>
object(MongoDB\BSON\ObjectId)#21 (1) {
["oid"]=>
string(24) "6920d065fc9b1f6fd8597b02"
}
["counter"]=>
int(3)
}
["hosts"]=>
array(3) {
[0]=>
string(44) "cluster0-shard-00-00-ofqos.mongodb.net:27017"
[1]=>
string(44) "cluster0-shard-00-01-ofqos.mongodb.net:27017"
[2]=>
string(44) "cluster0-shard-00-02-ofqos.mongodb.net:27017"
}
["setName"]=>
string(16) "Cluster0-shard-0"
["setVersion"]=>
int(156)
["isWritablePrimary"]=>
bool(false)
["secondary"]=>
bool(true)
["primary"]=>
string(44) "cluster0-shard-00-01-ofqos.mongodb.net:27017"
["tags"]=>
array(6) {
["diskState"]=>
string(5) "READY"
["nodeType"]=>
string(9) "ELECTABLE"
["region"]=>
string(9) "US_EAST_1"
["provider"]=>
string(3) "AWS"
["workloadType"]=>
string(11) "OPERATIONAL"
["availabilityZone"]=>
string(8) "use1-az2"
}
["me"]=>
string(44) "cluster0-shard-00-02-ofqos.mongodb.net:27017"
["lastWrite"]=>
array(4) {
["opTime"]=>
array(2) {
["ts"]=>
object(MongoDB\BSON\Timestamp)#22 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["t"]=>
int(429)
}
["lastWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#23 (1) {
["milliseconds"]=>
string(13) "1765264785000"
}
["majorityOpTime"]=>
array(2) {
["ts"]=>
object(MongoDB\BSON\Timestamp)#24 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["t"]=>
int(429)
}
["majorityWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#25 (1) {
["milliseconds"]=>
string(13) "1765264785000"
}
}
["maxBsonObjectSize"]=>
int(16777216)
["maxMessageSizeBytes"]=>
int(48000000)
["maxWriteBatchSize"]=>
int(100000)
["localTime"]=>
object(MongoDB\BSON\UTCDateTime)#26 (1) {
["milliseconds"]=>
string(13) "1765264785208"
}
["logicalSessionTimeoutMinutes"]=>
int(30)
["connectionId"]=>
int(964527)
["minWireVersion"]=>
int(0)
["maxWireVersion"]=>
int(25)
["readOnly"]=>
bool(false)
["ok"]=>
float(1)
["$clusterTime"]=>
array(2) {
["clusterTime"]=>
object(MongoDB\BSON\Timestamp)#27 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["signature"]=>
array(2) {
["hash"]=>
object(MongoDB\BSON\Binary)#28 (2) {
["data"]=>
string(20) "Z±GžãnZ¨ÆôµÃŽŒ.ãàGÙ$"
["type"]=>
int(0)
}
["keyId"]=>
int(7528135659005935763)
}
}
["operationTime"]=>
object(MongoDB\BSON\Timestamp)#29 (2) {
["increment"]=>
string(1) "3"
["timestamp"]=>
string(10) "1765264785"
}
["saslSupportedMechs"]=>
array(1) {
[0]=>
string(11) "SCRAM-SHA-1"
}
}
["round_trip_time"]=>
int(82)
}
}
}
connexion Atlas OK
object(MongoDB\Driver\BulkWrite)#29 (8) {
["database"]=>
NULL
["collection"]=>
NULL
["ordered"]=>
bool(true)
["bypassDocumentValidation"]=>
NULL
["executed"]=>
bool(false)
["server_id"]=>
int(0)
["session"]=>
NULL
["write_concern"]=>
NULL
}
Création d un objet users OK