PHP Variable Scope
The part of a script where a variable is accessible after it is declared is its scope. Not always a variable could be accessed after it’s been declared in the remaining part of the script. The location of declaration determines Read more