Jump to content

[SOLVED] error_reporting(EVERYTHING);


d22552000

Recommended Posts

so... what is the correect syntaxt o show absolutely everything?  notices, warnings, usergenerated stuffs, EVERTHING...

 

error_reporting(E_ALL & E_NOTICE & E_STRICT & E_WARNING & E_USER_WARNING);

 

I know im missing some, cuase I don't get all level warnings.

Link to comment
https://forums.phpfreaks.com/topic/64757-solved-error_reportingeverything/
Share on other sites

There's a reason the ini_set function is before the error_reporting function.

 

Then what is it?  It shouldn't matter what order they appear in.  If you go by the example provided by the manual, then error_reporting is executed first.

 

http://www.php.net/error_reporting

 

8191 is the value actually.

 

Both are correct.

 

http://us3.php.net/manual/en/ref.errorfunc.php#errorfunc.constants.errorlevels.e-all

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.