I’m checking the configuration of my PHP server and I need to set the following parameter as follows:
error_reporting set to E_ALL & ~E_NOTICE
However on my server a numeric value is set:
error_reporting 6135 6135
I was wondering what’s the meaning of it, and if I really need to change it
thanks
From the page we have:
E_ALLhas the value30719in PHP5.3.x,
6143in PHP 5.2.x,2047previouslyE_NOTICEhas the value8Looks like you are using PHP 5.2.x
Now If you do
E_ALL & ~E_NOTICEWhich is bitwise complement ofE_NOTICEfollowed by bitwise anding withE_ALLwe get