PhpStorm 2019.3 Help

Code Inspection: Exception used for local control-flow

Reports throw statements whose exceptions are alwayscaught by containing try statements. Using throwstatements as a "goto" to change the local flow of control is likely to be confusing.

Last modified: 27 March 2020