As i recently learned $myArray[$index]
in PHP is equivalent to $myArray{$index}
.
This mentioned on PHP docs. Also i found small discussion here: PHP curly braces in array notation.
PHP-FIG does not contains any recommendations about which way is preferable.
So, my question is -- it's just a matter of taste or may be some objective reasons to use one or the other syntax?