SyntaxFix
Write A Post
Hire A Developer
Questions
$array[] = 'Hi';
pushes on top of the array.
$array['Hi'] = 'FooBar';
sets a specific index.