PHP curly braces in array notation
It is mentioned in the manual. {} is just an alternative syntax to [] § Accessing array elements with square bracket syntax. This method is deprecated as of PHP 7.4.0 and no longer supported as of PHP 8.0.0. Note: Prior to PHP 8.0.0, square brackets and curly braces could be used interchangeably for accessing array … Read more