Closed thekid closed 8 years ago
This RFC suggests deprecating the array() syntax.
array()
Short array syntax was introduced with PHP 5.4 and has no downsides. Have one way of writing stuff is better!
The long array syntax will be deprecated:
None
Faster for annotations.
XP8
Scope of Change
This RFC suggests deprecating the
array()
syntax.Rationale
Short array syntax was introduced with PHP 5.4 and has no downsides. Have one way of writing stuff is better!
Functionality
The long array syntax will be deprecated:
Security considerations
None
Speed impact
Faster for annotations.
Dependencies
XP8
Related documents