1
Things I like:
- Traits (big like)
- $myArray = [];
- $firstElement = getElements()[0]; // array dereferencing
- (new MyObject)->sayHi(); // class member access on instantiation
(Of course there are other things too.)
+1 lol from the changelog:
<?= is now always available, regardless of the short_open_tag php.ini option.How hard they were fighting against short open tags… I think this is similar to HTML 5 where you don't have to close your tags despite the whole community was forcing strict XHTML for years
because it's better.