Sinead KACHROO277 Points
how can we have an if statement with no condition? If just says if ($username) ?
What does this mean?
Steven Parker201,932 Points
By itself, an empty string is considered "falsey"; but if the string contains any characters, it will be considered "truthy".
So this test is effectively checking "if $username is not empty".