?? is the Null Coalescing Operator[1]
?-> is the nullsafe operator[2]
[1]: https://www.php.net/manual/en/language.operators.comparison.... [2]: https://www.php.net/manual/en/language.oop5.basic.php#langua...
It was an okay-ish way to get a default/fallback value before JS got a proper coalescing operator.
?? is the Null Coalescing Operator[1]
?-> is the nullsafe operator[2]
[1]: https://www.php.net/manual/en/language.operators.comparison.... [2]: https://www.php.net/manual/en/language.oop5.basic.php#langua...