I want to add data to an array dynamically. How can I do that? Example
$arr1 = [ \'aaa\', \'bbb\', \'ccc\', ]; // How can I now add another value?
$array[] = 'Hi';
pushes on top of the array.
$array['Hi'] = 'FooBar';
sets a specific index.