php elvis elephant buy online code example Example: php ternary shorthand $y = $x ? "true" : "false";