3v4l.org

run code in 300+ PHP versions simultaneously
<?php $range = range(strtotime("today 00:15"),strtotime("today 04:00"),15*60); foreach($range as $time){ echo '<option value="'.$time.'">'.date("H:i",$time).'</option>'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 24
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 24
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
filename:       /in/q6aNl
function name:  (null)
number of ops:  26
compiled vars:  !0 = $range, !1 = $time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        INIT_FCALL                                               'strtotime'
          2        SEND_VAL                                                 'today+00%3A15'
          3        DO_ICALL                                         $2      
          4        SEND_VAR                                                 $2
          5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 'today+04%3A00'
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        SEND_VAL                                                 900
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !0, $4
    4    12      > FE_RESET_R                                       $6      !0, ->24
         13    > > FE_FETCH_R                                               $6, !1, ->24
    5    14    >   CONCAT                                           ~7      '%3Coption+value%3D%22', !1
         15        CONCAT                                           ~8      ~7, '%22%3E'
         16        INIT_FCALL                                               'date'
         17        SEND_VAL                                                 'H%3Ai'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $9      
         20        CONCAT                                           ~10     ~8, $9
         21        CONCAT                                           ~11     ~10, '%3C%2Foption%3E'
         22        ECHO                                                     ~11
    4    23      > JMP                                                      ->13
         24    >   FE_FREE                                                  $6
    6    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.25 ms | 1387 KiB | 19 Q