Variable Scope in php
The scope of a variable in php , which is controlled by the location of the variable’s declaration, determines those parts of the program that can access it. There are four types of variable scope in PHP: local, global, static, and function parameters Local scope A variable declared in a function is local to that … Read more