Reputation: 2304
I understand I can set error_display within .htaccess file using predefined constants: http://php.net/manual/en/errorfunc.constants.php
I am looking for a number that would let me set the error_display to all but disable strict mode, warnings and notices
I guess the equivalent of E_ALL | ~E_WARNINGS | ~E_NOTICES | ~E_STRICT ?
Upvotes: 1
Views: 1178
Reputation: 3011
According to the PHP constants, this would equate to: 32767 & ~2 & ~8 & ~2048 which is 30709 (according to my Windows programmer's calculator)
# in your .htaccess file...
php_value error_reporting 30709
Upvotes: 2