Inspectopedia Help

Undefined goto label

Reports the goto labels that are not found in the current scope.

The target goto label must reside in the same file and context: you cannot jump into or out of a function or method, and cannot jump into a loop or switch structure.

See goto ( for details.

Inspection Details

By default bundled with:

PhpStorm 2024.1, Qodana for PHP 2024.1,

Can be installed with plugin:


Last modified: 29 April 2024