chinmay.sahoo
New member
PHP is different from many programming languages in that variables do not have to be declared before being assigned, and (under its default settings) PHP will not complain if they are used before being assigned (or bound) either. As a result, forgetting to assign a variable will not result in direct errors—either you will see puzzling, but error-free output, or you will see a downstream error that is a result of variables not having the values you expected. (If you would rather be warned, you can set the error-reporting level in php.ini or by evaluating error_reporting(E_ALL).)