How can I make a variable visible inside a function without passing the variable as function parameter or argument? For example
$f=3
function Make(){
$r=$f+2
}
How can I make $f seen inside the function
$f = 3;
function Make() { global $f;
$r = $f + 2; }
good luck.