@@ -72,7 +72,7 @@ object(Person)#%d (5) {
72
72
["secret":protected]=>
73
73
string(24) "Hannes confidential info"
74
74
}
75
- Test { "0" : { "__pclass" : { "$type" : "80", "$binary" : "UGVyc29u" }, "name" : "Hannes", "age" : 42, "address" : [ { "__pclass" : { "$type" : "80", "$binary" : "QWRkcmVzcw==" }, "zip" : 94086, "country" : "USA" }, { "__pclass" : { "$type" : "80", "$binary" : "QWRkcmVzcw==" }, "zip" : 200, "country" : "Iceland" } ], "friends" : [ { "__pclass" : { "$type" : "80", "$binary" : "UGVyc29u" }, "name" : "Jeremy", "age" : 21, "address" : { } , "friends" : { } } ] } }
75
+ Test { "0" : { "__pclass" : { "$type" : "80", "$binary" : "UGVyc29u" }, "name" : "Hannes", "age" : 42, "address" : [ { "__pclass" : { "$type" : "80", "$binary" : "QWRkcmVzcw==" }, "zip" : 94086, "country" : "USA" }, { "__pclass" : { "$type" : "80", "$binary" : "QWRkcmVzcw==" }, "zip" : 200, "country" : "Iceland" } ], "friends" : [ { "__pclass" : { "$type" : "80", "$binary" : "UGVyc29u" }, "name" : "Jeremy", "age" : 21, "address" : [ ] , "friends" : [ ] } ] } }
76
76
0 : 1f 01 00 00 03 30 00 17 01 00 00 05 5f 5f 70 63 [.....0......__pc]
77
77
10 : 6c 61 73 73 00 06 00 00 00 80 50 65 72 73 6f 6e [lass......Person]
78
78
20 : 02 6e 61 6d 65 00 07 00 00 00 48 61 6e 6e 65 73 [.name.....Hannes]
@@ -88,8 +88,8 @@ Test { "0" : { "__pclass" : { "$type" : "80", "$binary" : "UGVyc29u" }, "name" :
88
88
C0 : 65 6e 64 73 00 58 00 00 00 03 30 00 50 00 00 00 [ends.X....0.P...]
89
89
D0 : 05 5f 5f 70 63 6c 61 73 73 00 06 00 00 00 80 50 [.__pclass......P]
90
90
E0 : 65 72 73 6f 6e 02 6e 61 6d 65 00 07 00 00 00 4a [erson.name.....J]
91
- F0 : 65 72 65 6d 79 00 10 61 67 65 00 15 00 00 00 03 [eremy..age......]
92
- 100 : 61 64 64 72 65 73 73 00 05 00 00 00 00 03 66 72 [address.......fr]
91
+ F0 : 65 72 65 6d 79 00 10 61 67 65 00 15 00 00 00 04 [eremy..age......]
92
+ 100 : 61 64 64 72 65 73 73 00 05 00 00 00 00 04 66 72 [address.......fr]
93
93
110 : 69 65 6e 64 73 00 05 00 00 00 00 00 00 00 00 [iends..........]
94
94
array(1) {
95
95
[0]=>
@@ -118,16 +118,16 @@ array(1) {
118
118
["friends":protected]=>
119
119
array(1) {
120
120
[0]=>
121
- object(Person)#%d1 (5) {
121
+ object(Person)#%d (5) {
122
122
["name":protected]=>
123
123
string(6) "Jeremy"
124
124
["age":protected]=>
125
125
int(21)
126
126
["address":protected]=>
127
- object(stdClass)#%d (0) {
127
+ array (0) {
128
128
}
129
129
["friends":protected]=>
130
- object(stdClass)#%d0 (0) {
130
+ array (0) {
131
131
}
132
132
["secret":protected]=>
133
133
string(4) "none"
0 commit comments