The array name is not a variable.
Possible solutions: use a global or local variable:
array($index,2i) = 0 // error $array($index,2i) = 0 // OK
Last updated 4 years ago