DEV Community

loading...

Discussion on: What is Null Safety Operator in PHP 8 and why is it next big thing in PHP

Collapse
bawa_geek profile image
Lakhveer Bawa Author • Edited

yes, thats how it works, I learned about significance of Null Safety from Dart / Flutter, and realized, we should be using it.

Collapse
bdelespierre profile image
Benjamin Delespierre

The way to "make things work" like that without this operator was to use the nul-object pattern