Removing depreciated messages in PHP

To remove depreciated messages form displays you can use the ~E_DEPRECATED value in the error_reporting function something like the following :

error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);