$var = "Value 1";
function setVar() {
    global $var;
    $var = "Value 2";
} 
function test($someVar) {
    echo $someVar;
} 
test($var);
I want the output of test(setVar()) to be "Value 2", but without returning $var within setVar(). Is this possible?
 
    