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-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) {
["availabilityZone"]=>
string(8) "use1-az2"
["provider"]=>
string(3) "AWS"
["workloadType"]=>
string(11) "OPERATIONAL"
["nodeType"]=>
string(9) "ELECTABLE"
["diskState"]=>
string(5) "READY"
["region"]=>
string(9) "US_EAST_1"
}
["last_hello_response"]=>
array(24) {
["helloOk"]=>
bool(true)
["topologyVersion"]=>
array(2) {
["processId"]=>
object(MongoDB\BSON\ObjectId)#2 (1) {
["oid"]=>
string(24) "6887c99e7e68be86fc12c57b"
}
["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)
["ismaster"]=>
bool(false)
["secondary"]=>
bool(true)
["primary"]=>
string(44) "cluster0-shard-00-01-ofqos.mongodb.net:27017"
["tags"]=>
array(6) {
["availabilityZone"]=>
string(8) "use1-az2"
["provider"]=>
string(3) "AWS"
["workloadType"]=>
string(11) "OPERATIONAL"
["nodeType"]=>
string(9) "ELECTABLE"
["diskState"]=>
string(5) "READY"
["region"]=>
string(9) "US_EAST_1"
}
["me"]=>
string(44) "cluster0-shard-00-02-ofqos.mongodb.net:27017"
["lastWrite"]=>
array(4) {
["opTime"]=>
array(2) {
["ts"]=>
object(MongoDB\BSON\Timestamp)#3 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["t"]=>
int(413)
}
["lastWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#4 (1) {
["milliseconds"]=>
string(13) "1753921722000"
}
["majorityOpTime"]=>
array(2) {
["ts"]=>
object(MongoDB\BSON\Timestamp)#5 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["t"]=>
int(413)
}
["majorityWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#6 (1) {
["milliseconds"]=>
string(13) "1753921722000"
}
}
["maxBsonObjectSize"]=>
int(16777216)
["maxMessageSizeBytes"]=>
int(48000000)
["maxWriteBatchSize"]=>
int(100000)
["localTime"]=>
object(MongoDB\BSON\UTCDateTime)#7 (1) {
["milliseconds"]=>
string(13) "1753921722546"
}
["logicalSessionTimeoutMinutes"]=>
int(30)
["connectionId"]=>
int(292391)
["minWireVersion"]=>
int(0)
["maxWireVersion"]=>
int(25)
["readOnly"]=>
bool(false)
["ok"]=>
float(1)
["$clusterTime"]=>
array(2) {
["clusterTime"]=>
object(MongoDB\BSON\Timestamp)#8 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["signature"]=>
array(2) {
["hash"]=>
object(MongoDB\BSON\Binary)#9 (2) {
["data"]=>
string(20) "lC×Ê,ìx³ˆ•R+ •R2ˆ*,"
["type"]=>
int(0)
}
["keyId"]=>
int(7500668801982136335)
}
}
["operationTime"]=>
object(MongoDB\BSON\Timestamp)#10 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["saslSupportedMechs"]=>
array(1) {
[0]=>
string(11) "SCRAM-SHA-1"
}
}
["round_trip_time"]=>
int(92)
}
[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) {
["nodeType"]=>
string(9) "ELECTABLE"
["availabilityZone"]=>
string(8) "use1-az6"
["region"]=>
string(9) "US_EAST_1"
["diskState"]=>
string(5) "READY"
["workloadType"]=>
string(11) "OPERATIONAL"
["provider"]=>
string(3) "AWS"
}
["last_hello_response"]=>
array(24) {
["helloOk"]=>
bool(true)
["topologyVersion"]=>
array(2) {
["processId"]=>
object(MongoDB\BSON\ObjectId)#11 (1) {
["oid"]=>
string(24) "6887c902a8313450f4fa1b83"
}
["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)
["ismaster"]=>
bool(false)
["secondary"]=>
bool(true)
["primary"]=>
string(44) "cluster0-shard-00-01-ofqos.mongodb.net:27017"
["tags"]=>
array(6) {
["nodeType"]=>
string(9) "ELECTABLE"
["availabilityZone"]=>
string(8) "use1-az6"
["region"]=>
string(9) "US_EAST_1"
["diskState"]=>
string(5) "READY"
["workloadType"]=>
string(11) "OPERATIONAL"
["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)#12 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["t"]=>
int(413)
}
["lastWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#13 (1) {
["milliseconds"]=>
string(13) "1753921722000"
}
["majorityOpTime"]=>
array(2) {
["ts"]=>
object(MongoDB\BSON\Timestamp)#14 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["t"]=>
int(413)
}
["majorityWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#15 (1) {
["milliseconds"]=>
string(13) "1753921722000"
}
}
["maxBsonObjectSize"]=>
int(16777216)
["maxMessageSizeBytes"]=>
int(48000000)
["maxWriteBatchSize"]=>
int(100000)
["localTime"]=>
object(MongoDB\BSON\UTCDateTime)#16 (1) {
["milliseconds"]=>
string(13) "1753921722547"
}
["logicalSessionTimeoutMinutes"]=>
int(30)
["connectionId"]=>
int(294731)
["minWireVersion"]=>
int(0)
["maxWireVersion"]=>
int(25)
["readOnly"]=>
bool(false)
["ok"]=>
float(1)
["$clusterTime"]=>
array(2) {
["clusterTime"]=>
object(MongoDB\BSON\Timestamp)#17 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["signature"]=>
array(2) {
["hash"]=>
object(MongoDB\BSON\Binary)#18 (2) {
["data"]=>
string(20) "lC×Ê,ìx³ˆ•R+ •R2ˆ*,"
["type"]=>
int(0)
}
["keyId"]=>
int(7500668801982136335)
}
}
["operationTime"]=>
object(MongoDB\BSON\Timestamp)#19 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["saslSupportedMechs"]=>
array(1) {
[0]=>
string(11) "SCRAM-SHA-1"
}
}
["round_trip_time"]=>
int(97)
}
[2]=>
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) {
["nodeType"]=>
string(9) "ELECTABLE"
["region"]=>
string(9) "US_EAST_1"
["availabilityZone"]=>
string(8) "use1-az1"
["provider"]=>
string(3) "AWS"
["diskState"]=>
string(5) "READY"
["workloadType"]=>
string(11) "OPERATIONAL"
}
["last_hello_response"]=>
array(25) {
["helloOk"]=>
bool(true)
["topologyVersion"]=>
array(2) {
["processId"]=>
object(MongoDB\BSON\ObjectId)#20 (1) {
["oid"]=>
string(24) "6887c950d9eb3ea7302d99a8"
}
["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)
["ismaster"]=>
bool(true)
["secondary"]=>
bool(false)
["primary"]=>
string(44) "cluster0-shard-00-01-ofqos.mongodb.net:27017"
["tags"]=>
array(6) {
["nodeType"]=>
string(9) "ELECTABLE"
["region"]=>
string(9) "US_EAST_1"
["availabilityZone"]=>
string(8) "use1-az1"
["provider"]=>
string(3) "AWS"
["diskState"]=>
string(5) "READY"
["workloadType"]=>
string(11) "OPERATIONAL"
}
["me"]=>
string(44) "cluster0-shard-00-01-ofqos.mongodb.net:27017"
["electionId"]=>
object(MongoDB\BSON\ObjectId)#21 (1) {
["oid"]=>
string(24) "7fffffff000000000000019d"
}
["lastWrite"]=>
array(4) {
["opTime"]=>
array(2) {
["ts"]=>
object(MongoDB\BSON\Timestamp)#22 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["t"]=>
int(413)
}
["lastWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#23 (1) {
["milliseconds"]=>
string(13) "1753921722000"
}
["majorityOpTime"]=>
array(2) {
["ts"]=>
object(MongoDB\BSON\Timestamp)#24 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["t"]=>
int(413)
}
["majorityWriteDate"]=>
object(MongoDB\BSON\UTCDateTime)#25 (1) {
["milliseconds"]=>
string(13) "1753921722000"
}
}
["maxBsonObjectSize"]=>
int(16777216)
["maxMessageSizeBytes"]=>
int(48000000)
["maxWriteBatchSize"]=>
int(100000)
["localTime"]=>
object(MongoDB\BSON\UTCDateTime)#26 (1) {
["milliseconds"]=>
string(13) "1753921722549"
}
["logicalSessionTimeoutMinutes"]=>
int(30)
["connectionId"]=>
int(300031)
["minWireVersion"]=>
int(0)
["maxWireVersion"]=>
int(25)
["readOnly"]=>
bool(false)
["ok"]=>
float(1)
["$clusterTime"]=>
array(2) {
["clusterTime"]=>
object(MongoDB\BSON\Timestamp)#27 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["signature"]=>
array(2) {
["hash"]=>
object(MongoDB\BSON\Binary)#28 (2) {
["data"]=>
string(20) "lC×Ê,ìx³ˆ•R+ •R2ˆ*,"
["type"]=>
int(0)
}
["keyId"]=>
int(7500668801982136335)
}
}
["operationTime"]=>
object(MongoDB\BSON\Timestamp)#29 (2) {
["increment"]=>
string(2) "27"
["timestamp"]=>
string(10) "1753921722"
}
["saslSupportedMechs"]=>
array(1) {
[0]=>
string(11) "SCRAM-SHA-1"
}
}
["round_trip_time"]=>
int(97)
}
}
}
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