php simplified code example Example 1: php shorthand if isset $var = $var ?? "default"; Example 2: php if short form <?php echo ($qte > 0) ? $qte : 0; ?>