As explained above, the syntax is acceptable. This is saying: if $row['username'] has a value that evaluates to true, use that value; otherwise, use the value of $user->lang['GUEST'].