Skip to content

Commit ba51542

Browse files
committed
Use wildcards when matching object properties
1 parent e0cbf37 commit ba51542

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tests/bson/bson-dbpointer-002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var_dump($dbptr->dbref);
1010
===DONE===
1111
<?php exit(0); ?>
1212
--EXPECTF--
13-
object(MongoDB\BSON\DBPointer)#1 (2) {
13+
object(MongoDB\BSON\DBPointer)#%d (%d) {
1414
["ref"]=>
1515
string(11) "phongo.test"
1616
["id"]=>

tests/bson/bson-dbpointer-serialization-002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ echo "\n";
1414
===DONE===
1515
<?php exit(0); ?>
1616
--EXPECTF--
17-
object(MongoDB\BSON\DBPointer)#1 (2) {
17+
object(MongoDB\BSON\DBPointer)#%d (%d) {
1818
["ref"]=>
1919
string(11) "phongo.test"
2020
["id"]=>
2121
string(24) "5a2e78accd485d55b4050000"
2222
}
2323
string(104) "O:22:"MongoDB\BSON\DBPointer":2:{s:3:"ref";s:11:"phongo.test";s:2:"id";s:24:"5a2e78accd485d55b4050000";}"
24-
object(MongoDB\BSON\DBPointer)#2 (2) {
24+
object(MongoDB\BSON\DBPointer)#%d (%d) {
2525
["ref"]=>
2626
string(11) "phongo.test"
2727
["id"]=>

tests/serverApi/serverApi-serialization-002.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ object(MongoDB\Driver\ServerApi)#%d (%d) {
3232
NULL
3333
}
3434
O:24:"MongoDB\Driver\ServerApi":3:{s:7:"version";s:1:"1";s:6:"strict";N;s:17:"deprecationErrors";N;}
35-
object(MongoDB\Driver\ServerApi)#5 (3) {
35+
object(MongoDB\Driver\ServerApi)#%d (%d) {
3636
["version"]=>
3737
string(1) "1"
3838
["strict"]=>
@@ -50,7 +50,7 @@ object(MongoDB\Driver\ServerApi)#%d (%d) {
5050
NULL
5151
}
5252
O:24:"MongoDB\Driver\ServerApi":3:{s:7:"version";s:1:"1";s:6:"strict";b:1;s:17:"deprecationErrors";N;}
53-
object(MongoDB\Driver\ServerApi)#5 (3) {
53+
object(MongoDB\Driver\ServerApi)#%d (%d) {
5454
["version"]=>
5555
string(1) "1"
5656
["strict"]=>
@@ -68,7 +68,7 @@ object(MongoDB\Driver\ServerApi)#%d (%d) {
6868
bool(true)
6969
}
7070
O:24:"MongoDB\Driver\ServerApi":3:{s:7:"version";s:1:"1";s:6:"strict";N;s:17:"deprecationErrors";b:1;}
71-
object(MongoDB\Driver\ServerApi)#5 (3) {
71+
object(MongoDB\Driver\ServerApi)#%d (%d) {
7272
["version"]=>
7373
string(1) "1"
7474
["strict"]=>
@@ -86,7 +86,7 @@ object(MongoDB\Driver\ServerApi)#%d (%d) {
8686
bool(false)
8787
}
8888
O:24:"MongoDB\Driver\ServerApi":3:{s:7:"version";s:1:"1";s:6:"strict";b:0;s:17:"deprecationErrors";b:0;}
89-
object(MongoDB\Driver\ServerApi)#5 (3) {
89+
object(MongoDB\Driver\ServerApi)#%d (%d) {
9090
["version"]=>
9191
string(1) "1"
9292
["strict"]=>

0 commit comments

Comments
 (0)