I want to hide E_STRICT warning with error_reproting
, my php version is 5.4
I try this
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_WARNING);
ini_set('display_errors', TRUE);
I also try
error_reporting(E_ALL | E_STRICT);
and
error_reporting(E_ALL^ E_STRICT );
and
error_reporting(E_ALL ^E_NOTICE ^ E_STRICT ^E_WARNING);
but I still see the E_STRICT warning ,why it not applied?
what is the problem and how can I fix it?
my php version 5.4