Disabling PHP deprecated errors

Change the following line:

error_reporting = E_ALL

change it to this line:

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

Simply add & ~E_DEPRECATED :)

Leave a Reply