Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error_reporting 4983

Tags:

php

When I use ini_set to check my error_reporting level, I get a weird value ( 4983 ) that I can't find anywhere by googling.

does anyone know how to determine what exactly this level is?

Thanks!

like image 400
Nalin Avatar asked Sep 03 '25 04:09

Nalin


1 Answers

It's a combination of the flags you can test here:

http://www.bx.com.au/tools/ultimate-php-error-reporting-wizard

1       E_ERROR     
2       E_WARNING   
4       E_PARSE     
8       E_NOTICE    
16      E_CORE_ERROR    
32      E_CORE_WARNING  
64      E_COMPILE_ERROR     
128     E_COMPILE_WARNING   
256     E_USER_ERROR    
512     E_USER_WARNING  
1024    E_USER_NOTICE   
2048    E_STRICT    
4096    E_RECOVERABLE_ERROR     
8192    E_DEPRECATED    
16384   E_USER_DEPRECATED

4983 is the combination of E_ERROR, E_WARNING, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_USER_ERROR, E_USER_WARNING, E_RECOVERABLE_ERROR

like image 161
ChristopheD Avatar answered Sep 05 '25 21:09

ChristopheD