๐ŸŽ‰๐ŸŽ‰ PHP 7.3 is here!

Here are the things I'm excited about.

๐Ÿš‚ Trailing commas in function/method calls!

This will certainly be a required styling choice for me. Same delightful benefits of trailing comma in multi-line PHP arrays, and JavaScript objects.
๐Ÿงต Less disgusting heredoc syntax!

Inlining heredoc strings in any way right now is grrrosssss. Now we get sensible capabilities. Everything that was wrong with it is now fixed!

(Ignore the bad syntax highlighting)
โ˜ ๏ธ Finally, not-so-silent json_decode error detection!

This really sucked before, now it just sucks a bit less (who wants to pass a 4th param and pass 2 default params first? (helper function anybody?)
๐Ÿ“œ Not horrible functions for getting the first and last item (or key) from an array!

Before you either strung a bunch of functions together or messed with internal array pointers. This is a much-needed improvement.
And that's all the things I care about! Check out this link more all the details in more depth: https://t.co/sXtgYRVN57

More from Tech

You May Also Like

My top 10 tweets of the year

A thread ๐Ÿ‘‡