3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($position = sizeof($length)-1; ($position >= 0)&&(($units = $difference/$length[$position])<=1); $position--); if($position < 0) $position = 0; $_tm = $current_time-($difference%$length[$position]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 4
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
Branch analysis from position: 12
Branch analysis from position: 12
filename:       /in/OQ5VJ
function name:  (null)
number of ops:  21
compiled vars:  !0 = $position, !1 = $length, !2 = $units, !3 = $difference, !4 = $_tm, !5 = $current_time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   COUNT                                            ~6      !1
          1        SUB                                              ~7      ~6, 1
          2        ASSIGN                                                   !0, ~7
          3      > JMP                                                      ->5
          4    >   PRE_DEC                                                  !0
          5    >   IS_SMALLER_OR_EQUAL                              ~10     0, !0
          6      > JMPZ_EX                                          ~10     ~10, ->12
          7    >   FETCH_DIM_R                                      ~11     !1, !0
          8        DIV                                              ~12     !3, ~11
          9        ASSIGN                                           ~13     !2, ~12
         10        IS_SMALLER_OR_EQUAL                              ~14     ~13, 1
         11        BOOL                                             ~10     ~14
         12    > > JMPNZ                                                    ~10, ->4
         13    >   IS_SMALLER                                               !0, 0
         14      > JMPZ                                                     ~15, ->16
         15    >   ASSIGN                                                   !0, 0
         16    >   FETCH_DIM_R                                      ~17     !1, !0
         17        MOD                                              ~18     !3, ~17
         18        SUB                                              ~19     !5, ~18
         19        ASSIGN                                                   !4, ~19
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.93 ms | 1394 KiB | 13 Q