What are the ? and : operators in PHP?
?
:
For example:
(($request_type == \'SSL\') ? HTTPS_SERVER : HTTP_SERVER)
This works like an if statement it's very simple and easy once you get used to it. (conditions_expressions) ? what_to_do_if_true : what_to_do_if_false.