condition ? expression1 : expression2 #### $max = $x > $y ? $x : $y; #### if ($x > $y) { $max = $x; } else { $max = $y; }