3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '<select id="etime" name="etime">'."\n"; for($i2 = 6; $i2 < 21; $i2++, $d2 = date("h A", strtotime($i2 . ":00:00"))) { $selected2 = ($i2 == 18) ? 'selected' : ''; echo '<option '.$selected2.' value="'.date("H:i:s", strtotime($i2 . ":00:00")) .'">'. $d2.'</option>'."\n"; } echo '</select>'."\n"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 3
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 3
Branch analysis from position: 37
Branch analysis from position: 3
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 3
Branch analysis from position: 37
Branch analysis from position: 3
filename:       /in/vJuPv
function name:  (null)
number of ops:  39
compiled vars:  !0 = $i2, !1 = $selected2, !2 = $d2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     '%3Cselect+id%3D%22etime%22+name%3D%22etime%22%3E%0A'
    3     1        ASSIGN                                                   !0, 6
          2      > JMP                                                      ->35
    4     3    >   IS_EQUAL                                                 !0, 18
          4      > JMPZ                                                     ~4, ->7
          5    >   QM_ASSIGN                                        ~5      'selected'
          6      > JMP                                                      ->8
          7    >   QM_ASSIGN                                        ~5      ''
          8    >   ASSIGN                                                   !1, ~5
    5     9        CONCAT                                           ~7      '%3Coption+', !1
         10        CONCAT                                           ~8      ~7, '+value%3D%22'
         11        INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'H%3Ai%3As'
         13        INIT_FCALL                                               'strtotime'
         14        CONCAT                                           ~9      !0, '%3A00%3A00'
         15        SEND_VAL                                                 ~9
         16        DO_ICALL                                         $10     
         17        SEND_VAR                                                 $10
         18        DO_ICALL                                         $11     
         19        CONCAT                                           ~12     ~8, $11
         20        CONCAT                                           ~13     ~12, '%22%3E'
         21        CONCAT                                           ~14     ~13, !2
         22        CONCAT                                           ~15     ~14, '%3C%2Foption%3E'
         23        CONCAT                                           ~16     ~15, '%0A'
         24        ECHO                                                     ~16
    3    25        PRE_INC                                                  !0
         26        INIT_FCALL                                               'date'
         27        SEND_VAL                                                 'h+A'
         28        INIT_FCALL                                               'strtotime'
         29        CONCAT                                           ~18     !0, '%3A00%3A00'
         30        SEND_VAL                                                 ~18
         31        DO_ICALL                                         $19     
         32        SEND_VAR                                                 $19
         33        DO_ICALL                                         $20     
         34        ASSIGN                                                   !2, $20
         35    >   IS_SMALLER                                               !0, 21
         36      > JMPNZ                                                    ~22, ->3
    7    37    >   ECHO                                                     '%3C%2Fselect%3E%0A'
    8    38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.77 ms | 1400 KiB | 17 Q