Hacker News new | past | comments | ask | show | jobs | submit login

It seems to continue the PHP 5.4 vein in that it adds some syntactic shortcuts and some niceties that make it a bit easier / cleaner to read and write.

Personally I'm pretty happy with traits and array dereferencing against function returns. The new array literal syntax is nicer and more like other languages, in that you don't have to wrap everything with array(), instead just use the [] syntax.

Feature-wise 5.4 added traits and 5.5 has generators.

http://www.php.net/manual/en/migration54.new-features.php

http://www.php.net/manual/en/migration55.new-features.php




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: