I have following code:
Line 27: while($tab[array_keys($tab)[$a]] > 0)
It works on PHP 5.4 but doesn't work on 5.2. I'm getting this error code:
Parse error: syntax error, unexpected '[', expecting ']' in path/to/script on line 27
Process finished with exit code 255 at 14:39:03.
What should I do ?
I have no idea :(
SOLVED Solution below