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

There are 3 different diffs reported by users for this test.

Count Diff
17 (89%)
121+
122+ Fatal error: Invalid opcode 137/4/8. in %s/serialization_objects_012.php on line 68
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
1 (5%)
156+ Done[Tue Apr 18 20:33:03 2017] Script: %s/serialization_objects_012.php'
156- Done
157+ /home/travis/build/pmmaga/php-src/Zend/zend_string.h(134) : Freeing 0x00007fd3fe681200 (32 bytes), %s/serialization_objects_012.php
158+ Last leak repeated 3 times
159+ === Total 4 memory leaks detected ===
1 (5%)
089+ Segmentation fault (core dumped)
090+
091+ Termsig=11
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