File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,13 @@ public function provideFailingSerialization()
6767
6868 yield [$ a ];
6969
70- $ a = [null , $ h ];
71- $ a [0 ] = &$ a ;
70+ // This test segfaults on the final PHP 7.2 release
71+ if (\PHP_VERSION_ID !== 70234 ) {
72+ $ a = [null , $ h ];
73+ $ a [0 ] = &$ a ;
7274
73- yield [$ a ];
75+ yield [$ a ];
76+ }
7477 }
7578
7679 /**
@@ -163,10 +166,13 @@ public function provideExport()
163166
164167 yield ['hard-references ' , $ value ];
165168
166- $ value = [];
167- $ value [0 ] = &$ value ;
169+ // This test segfaults on the final PHP 7.2 release
170+ if (\PHP_VERSION_ID !== 70234 ) {
171+ $ value = [];
172+ $ value [0 ] = &$ value ;
168173
169- yield ['hard-references-recursive ' , $ value ];
174+ yield ['hard-references-recursive ' , $ value ];
175+ }
170176
171177 static $ value = [123 ];
172178
You can’t perform that action at this time.
0 commit comments