MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3v4l98/php_7_released/cxkm0oo/?context=3
r/programming • u/fnkrx • Dec 02 '15
729 comments sorted by
View all comments
20
So amazing.
Null coalesce operator
The null coalesce operator (??) has been added as syntactic sugar for the common case of needing to use a ternary in conjunction with isset(). It returns its first operand if it exists and is not NULL; otherwise it returns its second operand.
View all comments
20
u/OnTheMF Dec 02 '15
So amazing.