3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 32
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 29
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KC29E
function name:  (null)
number of ops:  38
compiled vars:  !0 = $last_gdate, !1 = $d_start, !2 = $d_end, !3 = $d_dif, !4 = $d_d, !5 = $d_h, !6 = $d_m, !7 = $d_since
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2018-07-23+00%3A01%3A02'
    3     1        NEW                                              $9      'DateTime'
          2        SEND_VAL_EX                                              'now'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $9
    4     5        NEW                                              $12     'DateTime'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !2, $12
    5     9        INIT_METHOD_CALL                                         !1, 'diff'
         10        SEND_VAR_EX                                              !2
         11        DO_FCALL                                      0  $15     
         12        ASSIGN                                                   !3, $15
    6    13        INIT_FCALL                                               'var_export'
         14        SEND_VAR                                                 !3
         15        DO_ICALL                                                 
    7    16        FETCH_OBJ_R                                      ~18     !3, 'days'
         17        ASSIGN                                                   !4, ~18
    8    18        FETCH_OBJ_R                                      ~20     !3, 'h'
         19        ASSIGN                                                   !5, ~20
    9    20        FETCH_OBJ_R                                      ~22     !3, 'i'
         21        ASSIGN                                                   !6, ~22
   10    22        IS_SMALLER                                               !4, 1
         23      > JMPZ                                                     ~24, ->32
   11    24    >   IS_SMALLER                                               !5, 1
         25      > JMPZ                                                     ~25, ->29
   12    26    >   CONCAT                                           ~26     !6, 'm'
         27        ASSIGN                                                   !7, ~26
   11    28      > JMP                                                      ->31
   14    29    >   CONCAT                                           ~28     !5, 'h'
         30        ASSIGN                                                   !7, ~28
   10    31    > > JMP                                                      ->34
   17    32    >   CONCAT                                           ~30     !4, 'd'
         33        ASSIGN                                                   !7, ~30
   20    34    >   NOP                                                      
         35        FAST_CONCAT                                      ~32     '%0A', !7
         36        ECHO                                                     ~32
         37      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.49 ms | 971 KiB | 14 Q