php stop notice code example Example: php not display notice // Report all errors except E_NOTICE error_reporting(E_ALL ^ E_NOTICE);