Test: /ext/standard/tests/serialize/serialization_objects_002.phpt - Version 7.0.11-dev    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
009+ After Unserialization => Segmentation fault (core dumped)
010+
011+ Termsig=11
009- After Unserialization => object(C)#%d (8) {
010- ["a"]=>
011- int(10)
012- ["b"]=>
013- string(6) "string"
014- ["c"]=>
015- bool(true)
016- ["d"]=>
017- float(-2.34444)
018- ["e"]=>
019- array(7) {
020- [0]=>
021- int(1)
022- [1]=>
023- float(2.22)
024- [2]=>
025- string(6) "string"
026- [3]=>
027- bool(true)
028- [4]=>
029- array(0) {
030- }
031- [5]=>
032- object(members)#%d (3) {
033- ["var_private":"members":private]=>
034- int(10)
035- ["var_protected":protected]=>
036- string(6) "string"
037- ["var_public"]=>
038- array(3) {
039- [0]=>
040- float(-100.123)
041- [1]=>
042- string(6) "string"
043- [2]=>
044- bool(true)
045- }
046- }
047- [6]=>
048- NULL
049- }
050- ["f"]=>
051- object(nomembers)#%d (0) {
052- }
053- ["g"]=>
054- NULL
055- ["h"]=>
056- NULL
057- }
058- After Serialization => string(108) "O:1:"D":8:{s:1:"a";i:1;s:1:"b";i:2;s:1:"c";i:3333;s:1:"d";i:444444;s:1:"e";N;s:1:"f";N;s:1:"g";N;s:1:"h";N;}"
059- After Unserialization => object(D)#%d (8) {
060- ["a"]=>
061- int(1)
062- ["b"]=>
063- int(2)
064- ["c"]=>
065- int(3333)
066- ["d"]=>
067- int(444444)
068- ["e"]=>
069- NULL
070- ["f"]=>
071- NULL
072- ["g"]=>
073- NULL
074- ["h"]=>
075- NULL
076- }
077- After Serialization => string(223) "O:1:"D":8:{s:1:"a";d:0.5;s:1:"b";d:0.005000000000000000104083408558608425664715468883514404296875;s:1:"c";d:-1.3449999999999999733546474089962430298328399658203125;s:1:"d";d:1000500;s:1:"e";N;s:1:"f";N;s:1:"g";N;s:1:"h";N;}"
078- After Unserialization => object(D)#%d (8) {
079- ["a"]=>
080- float(0.5)
081- ["b"]=>
082- float(0.005)
083- ["c"]=>
084- float(-1.345)
085- ["d"]=>
086- float(1000500)
087- ["e"]=>
088- NULL
089- ["f"]=>
090- NULL
091- ["g"]=>
092- NULL
093- ["h"]=>
094- NULL
095- }
096- After Serialization => string(100) "O:1:"D":8:{s:1:"a";b:1;s:1:"b";b:1;s:1:"c";b:0;s:1:"d";b:0;s:1:"e";N;s:1:"f";N;s:1:"g";N;s:1:"h";N;}"
097- After Unserialization => object(D)#%d (8) {
098- ["a"]=>
099- bool(true)
100- ["b"]=>
101- bool(true)
102- ["c"]=>
103- bool(false)
104- ["d"]=>
105- bool(false)
106- ["e"]=>
107- NULL
108- ["f"]=>
109- NULL
110- ["g"]=>
111- NULL
112- ["h"]=>
113- NULL
114- }
115- After Serialization => string(126) "O:1:"D":8:{s:1:"a";s:1:"a";s:1:"b";s:1:"a";s:1:"c";s:6:"string";s:1:"d";s:6:"string";s:1:"e";N;s:1:"f";N;s:1:"g";N;s:1:"h";N;}"
116- After Unserialization => object(D)#%d (8) {
117- ["a"]=>
118- string(1) "a"
119- ["b"]=>
120- string(1) "a"
121- ["c"]=>
122- string(6) "string"
123- ["d"]=>
124- string(6) "string"
125- ["e"]=>
126- NULL
127- ["f"]=>
128- NULL
129- ["g"]=>
130- NULL
131- ["h"]=>
132- NULL
133- }
134- After Serialization => string(300) "O:1:"D":8:{s:1:"a";a:0:{}s:1:"b";a:5:{i:0;i:1;i:1;d:2.221999999999999975131004248396493494510650634765625;i:2;b:1;i:3;b:0;i:4;s:6:"string";}s:1:"c";a:4:{i:0;O:9:"nomembers":0:{}i:1;N;i:2;N;i:3;s:0:"";}s:1:"d";a:1:{i:0;a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;a:0:{}}}s:1:"e";N;s:1:"f";N;s:1:"g";N;s:1:"h";N;}"
135- After Unserialization => object(D)#%d (8) {
136- ["a"]=>
137- array(0) {
138- }
139- ["b"]=>
140- array(5) {
141- [0]=>
142- int(1)
143- [1]=>
144- float(2.222)
145- [2]=>
146- bool(true)
147- [3]=>
148- bool(false)
149- [4]=>
150- string(6) "string"
151- }
152- ["c"]=>
153- array(4) {
154- [0]=>
155- object(nomembers)#%d (0) {
156- }
157- [1]=>
158- NULL
159- [2]=>
160- NULL
161- [3]=>
162- string(0) ""
163- }
164- ["d"]=>
165- array(1) {
166- [0]=>
167- array(4) {
168- [0]=>
169- int(1)
170- [1]=>
171- int(2)
172- [2]=>
173- int(3)
174- [3]=>
175- array(0) {
176- }
177- }
178- }
179- ["e"]=>
180- NULL
181- ["f"]=>
182- NULL
183- ["g"]=>
184- NULL
185- ["h"]=>
186- NULL
187- }
188- After Serialization => string(103) "O:1:"D":8:{s:1:"a";N;s:1:"b";N;s:1:"c";s:0:"";s:1:"d";s:1:"[0x0]";s:1:"e";N;s:1:"f";N;s:1:"g";N;s:1:"h";N;}"
189- After Unserialization => object(D)#%d (8) {
190- ["a"]=>
191- NULL
192- ["b"]=>
193- NULL
194- ["c"]=>
195- string(0) ""
196- ["d"]=>
197- string(1) "[0x0]"
198- ["e"]=>
199- NULL
200- ["f"]=>
201- NULL
202- ["g"]=>
203- NULL
204- ["h"]=>
205- NULL
206- }
207- After Serialization => string(303) "O:1:"D":8:{s:1:"a";O:7:"members":3:{s:20:"[0x0]members[0x0]var_private";i:10;s:16:"[0x0]*[0x0]var_protected";s:6:"string";s:10:"var_public";a:3:{i:0;d:-100.1230000000000046611603465862572193145751953125;i:1;s:6:"string";i:2;b:1;}}s:1:"b";O:9:"nomembers":0:{}s:1:"c";N;s:1:"d";N;s:1:"e";N;s:1:"f";N;s:1:"g";N;s:1:"h";N;}"
208- After Unserialization => object(D)#%d (8) {
209- ["a"]=>
210- object(members)#%d (3) {
211- ["var_private":"members":private]=>
212- int(10)
213- ["var_protected":protected]=>
214- string(6) "string"
215- ["var_public"]=>
216- array(3) {
217- [0]=>
218- float(-100.123)
219- [1]=>
220- string(6) "string"
221- [2]=>
222- bool(true)
223- }
224- }
225- ["b"]=>
226- object(nomembers)#%d (0) {
227- }
228- ["c"]=>
229- NULL
230- ["d"]=>
231- NULL
232- ["e"]=>
233- NULL
234- ["f"]=>
235- NULL
236- ["g"]=>
237- NULL
238- ["h"]=>
239- NULL
240- }
241-
242- Done