Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 391 Bytes

0045.md

File metadata and controls

11 lines (8 loc) · 391 Bytes

0045: Invalid array syntax: variable name is missing

The array element is missing either the name or the index variable.

Possible solutions: check the array syntax and provide all required variables:

($index,2i) = 0 // error
$array(,2i) = 0 // error
$array($index,2i) = 0 // OK