Why would the code below ouput hello when it shouldn't? It's as if it's setting $test='hello' before any of the checks. Is there any reason this could be happening? This is a small piece of code from a bigger script but I'm not using $test anywhere outside of this code, even in other includes etc.
Code:
if (isset($test)){echo test;}
if (!isset($test)){
$test='hello';
}