What is the error_reporting integer value to be set in .htaccess to correspond to "E_ALL & !E_NOTICE & !E_DEPRECATED"?

link|improve this question

feedback

2 Answers

up vote 3 down vote accepted

These are PHP constants, echo it and you will have the value:

echo $lev = E_ALL & !E_NOTICE & !E_DEPRECATED
link|improve this answer
feedback

If it doesn't work, try this :

echo $lev = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.