(conditional) ? (execute this when true) : (execute this when false); # example <?php $age = 20; print ($age >= 18) ? "Adult" : "Not Adult"; ?> # output Adult