PHP · April 3, 2023 0

PHP 8 null-safe operator for nested ifs

Tired of many nested ifs for null checks? PHP 8.0 got you covered if you want to shorthand! The null-safe operator is what you want.