Ternary operator.
The ternary operator uses one expression to choose between two others. If expression1 evaluates to TRUE, the operator returns expression2. Otherwise expression3 is returned.
<?php
$mood = "indifferent";
print ($mood == "happy" ? "Yippie!" : "Oh, well");
?> Oh, wellThe ternary operator is used to pick a message to print.