Themans

What Can I Use to Quickly View all of My PHP Errors?

Asked by Themans 2 years ago php


John Swindells
0
 
The error_reporting function only determines what severity of errors are reported - not where they get reported.  Also, if you use error_reporting(E_ALL) then you will potentially get a lot of notice-level errors (so not really errors at all); it's usually best to use error_reporting(E_ALL & ~E_NOTICE).

To make your PHP errors appear on the web page, you also need ini_set('display_errors',1).  Note that you should never do this on a live environment, as the errors give all sorts of clues as to your site's physical layout - as well as being plain ugly!  If you have display_errors set to 0 (the default), then any errors will usually appear in the web server's error log.

by John Swindells 2 years ago

Eyenox
0
 
Error_reporting(ALL);
i know this is written wrong but is something like this, Hope it helps.

by Eyenox 2 years ago

Answer this question

What Can I Use to Quickly View all of My PHP Errors?

0 errors found:

 
0