php shorthand isset code example
Example 1: php shorthand if isset
$var = $var ?? "default";
Example 2: php ternary shorthand
$y = $x ? "true" : "false";
Example 3: php shorthand if isset post
$name = isset($_POST['submit']) ? $_POST['name'] : null;