This variable contains an array of booleans, really.
Visas pārbaudes ir veiksmīgas
The build was successful.

And if we managed to insert a boolean value to an array of chars, this means we have a bug somewhere.
Šī revīzija ir iekļauta:
Rafal Kupiec 2019-04-19 06:40:16 +02:00
vecāks 291b6f0607
revīzija 80abccc3ad
Parakstījis: belliash
GPG atslēgas ID: 4E829243E0CFE6B4

Parādīt failu

@ -1,7 +1,7 @@
class Program { class Program {
string cycle(char $a, char $b, int $i = 0) { string cycle(char $a, char $b, int $i = 0) {
static char[] $switches; static bool[] $switches;
if($switches[$i]) if($switches[$i])
$switches[$i] = !$switches[$i]; $switches[$i] = !$switches[$i];
else else