PHP goto Statement

PHP goto operator used for go into another section of the program, goto label is case-sensitive

Example - continue

echo 'A';
goto test;

echo 'B';
test:

echo 'C';
//output: AC

Limitations : The target label must be within the same file and context, means you cannot jump out of a function or method. you also can't jump into any loop or switch case.