In https://stackoverflow.com/a/2867082/288568 I found two ways of disabling notices. So what exactly is the a difference between
error_reporting(E_ALL ^ E_NOTICE);
and
error_reporting(E_ALL & ~E_NOTICE);
?
And what does the following line do?
error_reporting((E_ALL | E_STRICT) ^ E_DEPRECATED ^ E_NOTICE );
Would this correctly report E_ALL and E_STRICT but not DEPRECATED AND NOTICEs ?