PHP Variables are "containers" for storing information.
PHP Variables are used to store data, like string of text, numbers, etc.
PHP Variables Scope
PHP has three different variable scopes:
Local Variable Scope in PHP
A variable declared within a function has a LOCAL SCOPE and can only be accessed within that function:
Global Variable Scope in PHP
A variable declared outside a function has a GLOBAL SCOPE and can only be accessed outside a function:
PHP The static Keyword
use the static keyword when you first declare the variable: