3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = array(); foreach (range(0,24) as $fullhour) { $parthour = $fullhour > 12 ? $fullhour - 12 : $fullhour; $parthour .= $fullhour > 11 ? " pm" : " am"; $options["$fullhour:00"] = $parthour; $options["$fullhour:30"] = $parthour; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 29
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 29
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
Branch analysis from position: 18
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
filename:       /in/dETPS
function name:  (null)
number of ops:  31
compiled vars:  !0 = $options, !1 = $fullhour, !2 = $parthour
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 24
          4        DO_ICALL                                         $4      
          5      > FE_RESET_R                                       $5      $4, ->29
          6    > > FE_FETCH_R                                               $5, !1, ->29
    5     7    >   IS_SMALLER                                               12, !1
          8      > JMPZ                                                     ~6, ->12
          9    >   SUB                                              ~7      !1, 12
         10        QM_ASSIGN                                        ~8      ~7
         11      > JMP                                                      ->13
         12    >   QM_ASSIGN                                        ~8      !1
         13    >   ASSIGN                                                   !2, ~8
    6    14        IS_SMALLER                                               11, !1
         15      > JMPZ                                                     ~10, ->18
         16    >   QM_ASSIGN                                        ~11     '+pm'
         17      > JMP                                                      ->19
         18    >   QM_ASSIGN                                        ~11     '+am'
         19    >   ASSIGN_OP                                     8          !2, ~11
    7    20        NOP                                                      
         21        FAST_CONCAT                                      ~13     !1, '%3A00'
         22        ASSIGN_DIM                                               !0, ~13
         23        OP_DATA                                                  !2
    8    24        NOP                                                      
         25        FAST_CONCAT                                      ~15     !1, '%3A30'
         26        ASSIGN_DIM                                               !0, ~15
         27        OP_DATA                                                  !2
    4    28      > JMP                                                      ->6
         29    >   FE_FREE                                                  $5
   11    30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.77 ms | 1396 KiB | 15 Q