php-net-tutorial
php-net-tutorial copied to clipboard
Scope
Scope is difficult for beginners to understand. It is important to:
- Recognise Local, Global, Static, Namespace scopes
- Know when a variable is "in scope" and accessible.
- Understand the advantages to limiting the scope.