PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Code Inspection: Empty 'catch' block

Last modified: 21 March 2023

Reports an empty catch block. This indicates that errors are simply ignored instead of handling them.

Any comment in a catch block mutes the inspection.