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

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
011+ Segmentation fault (core dumped)
012+
013+ Termsig=11
011- array(2) {
012- [0]=>
013- object(stdClass)#%d (0) {
014- }
015- [1]=>
016- object(stdClass)#%d (0) {
017- }
018- }
019- array(2) {
020- [0]=>
021- object(stdClass)#%d (1) {
022- ["a"]=>
023- string(7) "newProp"
024- }
025- [1]=>
026- object(stdClass)#%d (1) {
027- ["a"]=>
028- string(7) "newProp"
029- }
030- }
031- array(2) {
032- [0]=>
033- string(10) "a0.changed"
034- [1]=>
035- object(stdClass)#%d (1) {
036- ["a"]=>
037- string(7) "newProp"
038- }
039- }
040-
041-
042- Array containing object and reference to that object:
043- array(2) {
044- [0]=>
045- &object(stdClass)#%d (0) {
046- }
047- [1]=>
048- &object(stdClass)#%d (0) {
049- }
050- }
051- string(37) "a:2:{i:0;O:8:"stdClass":0:{}i:1;R:2;}"
052- array(2) {
053- [0]=>
054- &object(stdClass)#%d (0) {
055- }
056- [1]=>
057- &object(stdClass)#%d (0) {
058- }
059- }
060- array(2) {
061- [0]=>
062- &object(stdClass)#%d (1) {
063- ["a"]=>
064- string(7) "newProp"
065- }
066- [1]=>
067- &object(stdClass)#%d (1) {
068- ["a"]=>
069- string(7) "newProp"
070- }
071- }
072- array(2) {
073- [0]=>
074- &string(10) "a0.changed"
075- [1]=>
076- &string(10) "a0.changed"
077- }
078-
079-
080- Object containing same object twice:object(stdClass)#%d (2) {
081- ["a"]=>
082- object(stdClass)#%d (0) {
083- }
084- ["b"]=>
085- object(stdClass)#%d (0) {
086- }
087- }
088- string(58) "O:8:"stdClass":2:{s:1:"a";O:8:"stdClass":0:{}s:1:"b";r:2;}"
089- object(stdClass)#%d (2) {
090- ["a"]=>
091- object(stdClass)#%d (0) {
092- }
093- ["b"]=>
094- object(stdClass)#%d (0) {
095- }
096- }
097- object(stdClass)#%d (2) {
098- ["a"]=>
099- object(stdClass)#%d (1) {
100- ["a"]=>
101- string(7) "newProp"
102- }
103- ["b"]=>
104- object(stdClass)#%d (1) {
105- ["a"]=>
106- string(7) "newProp"
107- }
108- }
109- object(stdClass)#%d (2) {
110- ["a"]=>
111- string(20) "container->a.changed"
112- ["b"]=>
113- object(stdClass)#%d (1) {
114- ["a"]=>
115- string(7) "newProp"
116- }
117- }
118-
119-
120- Object containing object and reference to that object:
121- object(stdClass)#%d (2) {
122- ["a"]=>
123- &object(stdClass)#%d (0) {
124- }
125- ["b"]=>
126- &object(stdClass)#%d (0) {
127- }
128- }
129- string(58) "O:8:"stdClass":2:{s:1:"a";O:8:"stdClass":0:{}s:1:"b";R:2;}"
130- object(stdClass)#%d (2) {
131- ["a"]=>
132- &object(stdClass)#%d (0) {
133- }
134- ["b"]=>
135- &object(stdClass)#%d (0) {
136- }
137- }
138- object(stdClass)#%d (2) {
139- ["a"]=>
140- &object(stdClass)#%d (1) {
141- ["a"]=>
142- string(7) "newProp"
143- }
144- ["b"]=>
145- &object(stdClass)#%d (1) {
146- ["a"]=>
147- string(7) "newProp"
148- }
149- }
150- object(stdClass)#%d (2) {
151- ["a"]=>
152- &string(20) "container->a.changed"
153- ["b"]=>
154- &string(20) "container->a.changed"
155- }
156- Done