Php: the global keyword
Self-tutoring about PHP: the tutor mentions an idea about PHP global. Consider the file $var1=”hello”; function f1(){ echo $var1; } f1(); //call f1 In the code above, with almost any programming language I know of, $var1 has value “hello” in …