respect error_reporting setting