Variable Scope
suggest changeIntroduction
Variable scope refers to the regions of code where a variable may be accessed. This is also referred to as visibility. In PHP scope blocks are defined by functions, classes, and a global scope available throughout an application.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents