You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -71,7 +71,7 @@ public function testShuffle(): void
71
71
\Colopl\ColoplBc\Php70\srand(1234);
72
72
\Colopl\ColoplBc\Php70\shuffle($arr);
73
73
74
-
if (\PHP_ZTS === 0) {
74
+
if ((bool) \PHP_ZTS === false) {
75
75
self::assertSame($arr, [2, 3, 4, 1]);
76
76
} else {
77
77
self::assertSame($arr, [4, 2, 1, 3]);
@@ -83,7 +83,7 @@ public function testStrShuffle(): void
83
83
$str = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.';
84
84
\Colopl\ColoplBc\Php70\srand(1234);
85
85
86
-
if (\PHP_ZTS === 0) {
86
+
if ((bool) \PHP_ZTS === false) {
87
87
self::assertSame(
88
88
\Colopl\ColoplBc\Php70\str_shuffle($str),
89
89
'cfapiqi uogi txnrdaeqvnataten ume v aiisalm isiatdaduaeudr eenteotscdm itdenrieuaicii loi aaot imxll ne luecat uri ipp a l moplaur tsarc.eptuisrccdlotep ecorU oeaceqsuerno .t li sa rerldulidieoor i n nd tloiii eeulds ithsnot btrnf ilm a,nuto umdscd viee.amndrueonmce ns dancratmamo inuios ilmo sg a neo ci. eispiisu pueoe umurt denaamlmiu ,loi ptctaurst lrinm usLrdto gru coaetucnuliittro, npemeDnpt s,efdlq q teoiabuEet ert ioinu tlbxoo o '
@@ -100,7 +100,7 @@ public function testArrayRand(): void
0 commit comments