3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head><title>HBD for You</title></head> <body> <p>Enter Your Birthday</p> <form action = "dataEntry.php" method = "post"> <table cellspacing = "5"> <tr><td valign = "middle" colspan =2>Day <!--dropdown for day--> <select name = day> <option selected = "selected" value=""> Select</option> <?php for($day = 1;$day<=31; ++$day){ print "\t<option value=\"$day\">$day</option>\n"; } ?> </select> </td></tr> <tr><td valign = "middle" colspan =2>Month <!--dropdown for Month--> <select name = Month> <option selected = "selected" value=""> Select</option> <?php $array = array("Januray","February","March","April","May","June","July","August","September","October","November","December"); foreach($array as $Month){ print "\t<option value=\"$Month\">$Month</option>\n"; } ?> </select> </td></tr> <tr><td valign = "middle" colspan =2>Year <!--dropdown for Year--> <select name = year> <option selected = "selected" value=""> Select</option> <?php for($year = 1990;$year<=2015; ++$year){ print "\t<option value=\"$year\">$year</option>\n"; } ?> </select> </td></tr> </table> </form></body></html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 23
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 23
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 27
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 27
Branch analysis from position: 36
Branch analysis from position: 27
Branch analysis from position: 23
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
Branch analysis from position: 3
filename:       /in/N9S6F
function name:  (null)
number of ops:  38
compiled vars:  !0 = $day, !1 = $array, !2 = $Month, !3 = $year
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%0A%3Chead%3E%3Ctitle%3EHBD+for+You%3C%2Ftitle%3E%3C%2Fhead%3E%0A%3Cbody%3E%0A%3Cp%3EEnter+Your+Birthday%3C%2Fp%3E%0A%3Cform+action+%3D+%22dataEntry.php%22+method+%3D+%22post%22%3E%0A%3Ctable+cellspacing+%3D+%225%22%3E%0A%3Ctr%3E%3Ctd+valign+%3D+%22middle%22+colspan+%3D2%3EDay%0A%3C%21--dropdown+for+day--%3E%0A%3Cselect+name+%3D+day%3E%0A%3Coption+selected+%3D+%22selected%22+value%3D%22%22%3E+Select%3C%2Foption%3E%0A'
   12     1        ASSIGN                                                   !0, 1
          2      > JMP                                                      ->10
   13     3    >   ROPE_INIT                                     5  ~6      '%09%3Coption+value%3D%22'
          4        ROPE_ADD                                      1  ~6      ~6, !0
          5        ROPE_ADD                                      2  ~6      ~6, '%22%3E'
          6        ROPE_ADD                                      3  ~6      ~6, !0
          7        ROPE_END                                      4  ~5      ~6, '%3C%2Foption%3E%0A'
          8        ECHO                                                     ~5
   12     9        PRE_INC                                                  !0
         10    >   IS_SMALLER_OR_EQUAL                                      !0, 31
         11      > JMPNZ                                                    ~10, ->3
   16    12    >   ECHO                                                     '%3C%2Fselect%3E%0A%3C%2Ftd%3E%3C%2Ftr%3E%0A%0A%3Ctr%3E%3Ctd+valign+%3D+%22middle%22+colspan+%3D2%3EMonth%0A%3C%21--dropdown+for+Month--%3E%0A%3Cselect+name+%3D+Month%3E%0A%3Coption+selected+%3D+%22selected%22+value%3D%22%22%3E+Select%3C%2Foption%3E%0A'
   24    13        ASSIGN                                                   !1, <array>
   25    14      > FE_RESET_R                                       $12     !1, ->23
         15    > > FE_FETCH_R                                               $12, !2, ->23
   26    16    >   ROPE_INIT                                     5  ~14     '%09%3Coption+value%3D%22'
         17        ROPE_ADD                                      1  ~14     ~14, !2
         18        ROPE_ADD                                      2  ~14     ~14, '%22%3E'
         19        ROPE_ADD                                      3  ~14     ~14, !2
         20        ROPE_END                                      4  ~13     ~14, '%3C%2Foption%3E%0A'
         21        ECHO                                                     ~13
   25    22      > JMP                                                      ->15
         23    >   FE_FREE                                                  $12
   29    24        ECHO                                                     '%3C%2Fselect%3E%0A%3C%2Ftd%3E%3C%2Ftr%3E%0A%0A%3Ctr%3E%3Ctd+valign+%3D+%22middle%22+colspan+%3D2%3EYear%0A%3C%21--dropdown+for+Year--%3E%0A%3Cselect+name+%3D+year%3E%0A%3Coption+selected+%3D+%22selected%22+value%3D%22%22%3E+Select%3C%2Foption%3E%0A'
   37    25        ASSIGN                                                   !3, 1990
         26      > JMP                                                      ->34
   38    27    >   ROPE_INIT                                     5  ~19     '%09%3Coption+value%3D%22'
         28        ROPE_ADD                                      1  ~19     ~19, !3
         29        ROPE_ADD                                      2  ~19     ~19, '%22%3E'
         30        ROPE_ADD                                      3  ~19     ~19, !3
         31        ROPE_END                                      4  ~18     ~19, '%3C%2Foption%3E%0A'
         32        ECHO                                                     ~18
   37    33        PRE_INC                                                  !3
         34    >   IS_SMALLER_OR_EQUAL                                      !3, 2015
         35      > JMPNZ                                                    ~23, ->27
   41    36    >   ECHO                                                     '%3C%2Fselect%3E%0A%3C%2Ftd%3E%3C%2Ftr%3E%0A%0A%3C%2Ftable%3E%0A%3C%2Fform%3E%3C%2Fbody%3E%3C%2Fhtml%3E'
   45    37      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.41 ms | 1399 KiB | 13 Q