rtacconi rtacconi - 1 year ago 138
PHP Question

How to disable E_STRICT

I need to turn off E_STRICT. I have error_reporting = E_ALL & ~E_STRICT in my php.ini but it seems to be ignored. I tried this in my code:

ini_set('error_reporting', E_NOTICE);


Please help.

Answer Source

try this.

error_reporting(E_ALL ^ E_STRICT);

This will report all errors except E_STRICT

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download