PHP Shorthand If / Else Examples Basic True / False Declaration $is_admin = ($user[‘permissions’] == ‘admin’ ? true : false);