Inspectopedia
 
2024.3

Undefined goto label

Warning
New
Last modified: 03 December 2024

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 (php.net) for details.