$variable = $expression ? $value_for_true : $value_for_false;