It is:
condition ? do_if_true : do_if_false
So, for example in the below, do->something() will be run.
$true = 1;
$false = 0
$true ? $do->something() : $do->nothing();
But in the below example, do->nothing() will be run.
$false ? $do->something() : $do->nothing();