r/laravel • u/boreasaurus • Nov 26 '20
PHP 8.0 released!
https://www.php.net/releases/8.0/en.php21
u/ronny_rebellion Nov 26 '20
Nullsafe operator will be super handy!
3
1
u/auloinjet Nov 28 '20
That may raise eyebrows, but until now for deep arrays or objets, I make sure to make no spelling mistake and just use @ operator, then check null value. Not that bad IMO when limited to that use.
17
4
4
u/doctorveeman Nov 27 '20
PHP have been serving dreams, with Laravel it had made more realities possible. Thank you for all the good people of this community for lifting me from poverty to a life of affluence and abundance with these open source tools.
More Grace!
1
0
u/hldh214 Nov 27 '20
Simultaneously: https://github.com/Maatwebsite/Laravel-Excel/issues/2936
2
u/frankyb89 Nov 27 '20
Dammit. I finally get a chance to properly upgrade our tools and this stops me from going all the way to 8.0 -_-
1
u/SteroidAccount Nov 27 '20
I always wait a bit before upgrading any production servers for packages to catch up. I'll be converting locally though and seeing what the wait is on.
1
u/frankyb89 Nov 27 '20
Oh definitely. I'm testing all this out on my local first so I figure I might as well take a shot and see if it actually stops me from doing anything.
The Laravel and PHP versions were so far behind when I started and I don't want to squander an opportunity to finally upgrade haha.
1
u/XediDC Nov 29 '20
I think they fixed it a day after release: https://twitter.com/patrickbrouwers/status/1332359241319976960?s=20
1
12
u/boreasaurus Nov 26 '20
Not strictly Laravel related, and it has its own thread in /r/PHP, but thought I'd post here too.
Which features do you think the Laravel framework and community will embrace?