I like PHP. It is easy to get stuff up and running quite fast, and it is easy and cheap to find ways to host PHP based projects
Below is a list of features I wish php had.
Shorter array initilization syntax like:
$arr1 = ; $arr2 = [1, 3, 5, 7, 11]; $arr3 = ['foo'=>'bar', 'i'=>'can haz'];This has been discussed intensely in the past, and more than one patch implementing the feature has been submitted. It has been decided not to add this feature. I think this is a mistake.
- Traits. It looks like this will be included in the next version of PHP. Yay.
Direct array access to arrays returned from functions and methods:
Immediate access to an object when it is constructed.
$stuff = new StuffBuilder()->build();