3v4l.org

run code in 300+ PHP versions simultaneously
<?php if($_POST["first"]) { echo ' <h2>Enter the words by following the instructions below.</h2> <form method = "post" action = "result.php"> 1. <i>(Adjective)</i> <input type = "text" name = "num1"> <br /> 2. <i>(Noun)</i> <input type = "text" name = "num2"> <br /> 3. <i>(Noun)</i> <input type = "text" name = "num3"> <br /> 4. <i>(Verb)</i> <input type = "text" name = "num4"> <br /> 5. <i>(Verb)</i> <input type = "text" name = "num5"> <br /> 6. <i>(Adjective)</i> <input type = "text" name = "num6"> <br /> 7. <i>(Profanity)</i> <input type = "text" name = "num7"> <br /> <input type = "text" value = "submit" onclick = "result.php"> </form> '; } elseif($_POST["second"]) { echo ' <h2>Enter the words by following the instructions below.</h2> <form method = "post" action = "result.php"> 1. <i>(Verb)</i> <input type = "text" name = "num1"> <br /> 2. <i>(Verb)</i> <input type = "text" name = "num2"> <br /> 3. <i>(Adjective)</i> <input type = "text" name = "num3"> <br /> 4. <i>(Verb)</i> <input type = "text" name = "num4"> <br /> 5. <i>(Noun)</i> <input type = "text" name = "num5"> <br /> 6. <i>(Profanity)</i> <input type = "text" name = "num6"> <br /> 7. <i>(Pronoun)</i> <input type = "text" name = "num7"> <br /> <input type = "text" value = "submit" onclick = "result.php"> </form> '; } else { echo ' <h2>Enter the words by following the instructions below.</h2> <form method = "post" action = "result.php"> 1. <i>(Pronoun)</i> <input type = "text" name = "num1"> <br /> 2. <i>(Verb)</i> <input type = "text" name = "num2"> <br /> 3. <i>(Noun)</i> <input type = "text" name = "num3"> <br /> 4. <i>(Verb)</i> <input type = "text" name = "num4"> <br /> 5. <i>(Verb)</i> <input type = "text" name = "num5"> <br /> 6. <i>(Something that smells bad)</i> <input type = "text" name = "num6"> <br /> 7. <i>(Something you like)</i> <input type = "text" name = "num7"> <br /> <input type = "text" value = "submit" onclick = "result.php"> </form> '; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bnMmP
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_R                      global              ~0      '_POST'
          1        FETCH_DIM_R                                      ~1      ~0, 'first'
          2      > JMPZ                                                     ~1, ->5
    5     3    >   ECHO                                                     '%0A%09%3Ch2%3EEnter+the+words+by+following+the+instructions+below.%3C%2Fh2%3E%0A%09%3Cform+method+%3D+%22post%22+action+%3D+%22result.php%22%3E%0A%091.+%3Ci%3E%28Adjective%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num1%22%3E+%0A%09%3Cbr+%2F%3E%0A%092.+%3Ci%3E%28Noun%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num2%22%3E+%0A%09%3Cbr+%2F%3E%0A%093.+%3Ci%3E%28Noun%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num3%22%3E+%0A%09%3Cbr+%2F%3E%0A%094.+%3Ci%3E%28Verb%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num4%22%3E+%0A%09%3Cbr+%2F%3E%0A%095.+%3Ci%3E%28Verb%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num5%22%3E+%0A%09%3Cbr+%2F%3E%0A%096.+%3Ci%3E%28Adjective%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num6%22%3E+%0A%09%3Cbr+%2F%3E%0A%097.+%3Ci%3E%28Profanity%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num7%22%3E+%0A%09%3Cbr+%2F%3E%0A%09%3Cinput+type+%3D+%22text%22+value+%3D+%22submit%22+onclick+%3D+%22result.php%22%3E%0A%09%3C%2Fform%3E%0A%09'
          4      > JMP                                                      ->11
   26     5    >   FETCH_R                      global              ~2      '_POST'
          6        FETCH_DIM_R                                      ~3      ~2, 'second'
          7      > JMPZ                                                     ~3, ->10
   28     8    >   ECHO                                                     '%0A%09%09%3Ch2%3EEnter+the+words+by+following+the+instructions+below.%3C%2Fh2%3E%0A%09%09%3Cform+method+%3D+%22post%22+action+%3D+%22result.php%22%3E%0A%09%091.+%3Ci%3E%28Verb%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num1%22%3E+%0A%09%09%3Cbr+%2F%3E%0A%09%092.+%3Ci%3E%28Verb%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num2%22%3E+%0A%09%09%3Cbr+%2F%3E%0A%09%093.+%3Ci%3E%28Adjective%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num3%22%3E+%0A%09%09%3Cbr+%2F%3E%0A%09%094.+%3Ci%3E%28Verb%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num4%22%3E+%0A%09%09%3Cbr+%2F%3E%0A%09%095.+%3Ci%3E%28Noun%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num5%22%3E+%0A%09%09%3Cbr+%2F%3E%0A%09%096.+%3Ci%3E%28Profanity%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num6%22%3E+%0A%09%09%3Cbr+%2F%3E%0A%09%097.+%3Ci%3E%28Pronoun%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num7%22%3E+%0A%09%09%3Cbr+%2F%3E%0A%09%09%3Cinput+type+%3D+%22text%22+value+%3D+%22submit%22+onclick+%3D+%22result.php%22%3E%0A%09%09%3C%2Fform%3E%0A%09%09'
          9      > JMP                                                      ->11
   51    10    >   ECHO                                                     '%0A%09%09%09%3Ch2%3EEnter+the+words+by+following+the+instructions+below.%3C%2Fh2%3E%0A%09%09%09%3Cform+method+%3D+%22post%22+action+%3D+%22result.php%22%3E%0A%09%09%091.+%3Ci%3E%28Pronoun%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num1%22%3E+%0A%09%09%09%3Cbr+%2F%3E%0A%09%09%092.+%3Ci%3E%28Verb%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num2%22%3E+%0A%09%09%09%3Cbr+%2F%3E%0A%09%09%093.+%3Ci%3E%28Noun%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num3%22%3E+%0A%09%09%09%3Cbr+%2F%3E%0A%09%09%094.+%3Ci%3E%28Verb%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num4%22%3E+%0A%09%09%09%3Cbr+%2F%3E%0A%09%09%095.+%3Ci%3E%28Verb%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num5%22%3E+%0A%09%09%09%3Cbr+%2F%3E%0A%09%09%096.+%3Ci%3E%28Something+that+smells+bad%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num6%22%3E+%0A%09%09%09%3Cbr+%2F%3E%0A%09%09%097.+%3Ci%3E%28Something+you+like%29%3C%2Fi%3E+%3Cinput+type+%3D+%22text%22+name+%3D+%22num7%22%3E+%0A%09%09%09%3Cbr+%2F%3E%0A%09%09%09%3Cinput+type+%3D+%22text%22+value+%3D+%22submit%22+onclick+%3D+%22result.php%22%3E%0A%09%09%09%3C%2Fform%3E%0A%09%09%09'
   72    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.67 ms | 1399 KiB | 13 Q