Is the following:
$arr = [
foo => 'bar',
bar => 'foo'
];
The same as:
$arr = [
'foo' => 'bar',
'bar' => 'foo'
];
In other words, is putting quotes on named indexes unnecessary? When would be the only times when putting quotes on string indexes be really needed?