This variable contains an array of booleans, really.
All checks were successful
The build was successful.
All checks were successful
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.
This commit is contained in:
parent
291b6f0607
commit
80abccc3ad
@ -1,7 +1,7 @@
|
||||
class Program {
|
||||
|
||||
string cycle(char $a, char $b, int $i = 0) {
|
||||
static char[] $switches;
|
||||
static bool[] $switches;
|
||||
if($switches[$i])
|
||||
$switches[$i] = !$switches[$i];
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user