PHP Variable


1) Variables are used for storing a values, like text strings, numbers or arrays.
2) When a variable is declared, it can be used over and over again in our script.
3) All variables in PHP start with a '$' sign symbol.
4) The correct way of declaring a variable in PHP:
                   $variable_name = value;

Naming rules for variables.