Turn On Error Reporting Immediately - PHP Views : 266
Tagged in : PHP
0 0
Send mail
Turn On Error Reporting Immediately

Generally the error reporting is set at a level that will hide many little things like:

    * declaring a variable ahead of time,
* referencing a variable that isn’t available in that segment of code, or
* using a define that isn’t set.


Put the following line at the top of every PHP document as you develop to turn on error reporting:

error_reporting(E_ALL);


It simply forces the error reporting to be at its highest level.
By Sanju, On - 2010-01-01



    Login to add Comments .