PHP
goto
goto statement
This time, let's look at the goto statement.
The goto statement allows you to skip code.
there for example 1,2,3,4,5,6,7,8,9 length so I gadaga cross towards three two to cross the first I met goto 8 code.
Then you go straight to 8 without going through 4, 5, 6, 7.
How To Use goto
goto label(where to go); label:
Label specifies the value you want.
I don't know how to use the above
Let's look at an example.
echo "pinkcoding step 1 <br>"; echo "pinkcoding step 2 <br>"; goto goSeven; echo "pinkcoding step 3 <br>"; echo "pinkcoding step 4 <br>"; echo "pinkcoding step 5 <br>"; echo "pinkcoding step 6 <br>"; goSeven: echo "pinkcoding step 7 <br>"; echo "pinkcoding step 8 <br>"; echo "pinkcoding step 9 <br>";
If you execute the above code, the output will be output till pinkcoding step 2, then goto goSeven statement, go to goSeven, and output from pinkcoding step 7.
So let's run the code
<?php echo "pinkcoding step 1 <br>"; echo "pinkcoding step 2 <br>"; goto go7; echo "pinkcoding step 3 <br>"; echo "pinkcoding step 4 <br>"; echo "pinkcoding step 5 <br>"; echo "pinkcoding step 6 <br>"; go7: echo "pinkcoding step 7 <br>"; echo "pinkcoding step 8 <br>"; echo "pinkcoding step 9 <br>"; ?>
I'll check the results right below.
Execution result of the code above

//=$langList['bottomThankyou'][$langMode]?>