d22552000 Posted August 13, 2007 Share Posted August 13, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/64757-solved-error_reportingeverything/ Share on other sites More sharing options...
hitman6003 Posted August 13, 2007 Share Posted August 13, 2007 error_reporting(E_ALL); ini_set("display_errors", 1); Quote Link to comment https://forums.phpfreaks.com/topic/64757-solved-error_reportingeverything/#findComment-323011 Share on other sites More sharing options...
NArc0t1c Posted August 13, 2007 Share Posted August 13, 2007 There's a reason the ini_set function is before the error_reporting function. 8191 is the value actually. Quote Link to comment https://forums.phpfreaks.com/topic/64757-solved-error_reportingeverything/#findComment-323014 Share on other sites More sharing options...
hitman6003 Posted August 13, 2007 Share Posted August 13, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/64757-solved-error_reportingeverything/#findComment-323017 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.