if ($user_id == NULL || $user_name == NULL || $user_logged == NULL) { $user_id = \'-1\'; $user_name = NULL; $user_logged = NULL; } if ($user_admin == NUL
you can use isset() routine .
also additionaly you can refer an range of is_type () functions like
is_string(), is_float(),is_int() etc to further specificaly test