I have a simple associative array declared like the following:
static private $foo = [
16 => 'xyz',
7 => 'x',
8 => 'y',
9 => 'xy'
];
When I run a syntax check on this declaration, I get the following:
Parse error: syntax error, unexpected '16' (T_LNUMBER), expecting ']
What am I doing wrong here?