sort hand if one outcome code example Example: shorthand if php $is_admin = ($user['permissions'] == 'admin') ? true : false;