The error_reporting() function will return 0 if error suppression is currently active somewhere in the call tree (via the @ operator).The error_reporting() function will return 0 if error suppression is currently active somewhere in the call tree (via the @ operator).