Its the ~E_NOTICE part that needs to be added, not E_DEPRECIATED.