xp-framework / rfc

One of the major deficiencies in the development of many projects is that there is no roadmap or strategy available other than in the developers' heads. The XP team publishes its decisions by documenting change requests in form of RFCs.
2 stars 1 forks source link

Deprecate array() syntax #311

Closed thekid closed 8 years ago

thekid commented 8 years ago

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:

None

Speed impact

Faster for annotations.

Dependencies

XP8

Related documents