double question mark php 7.2 code example Example: php double question mark $foo = $bar ?? 'something'; $foo = isset($bar) ? $bar : 'something';