3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qrii7
function name:  (null)
number of ops:  10
compiled vars:  !0 = $date, !1 = $period
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'DateInterval', 'createFromDateString'
          1        SEND_VAL                                                 '2+days+5+minutes'
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
   18     4        INIT_FCALL                                               'dosomemagic'
          5        SEND_VAR                                                 !0
          6        DO_FCALL                                      0  $4      
          7        ASSIGN                                                   !1, $4
   19     8        ECHO                                                     !1
   20     9      > RETURN                                                   1

Function dosomemagic:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 24
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 34
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 37
Branch analysis from position: 37
2 jumps found. (Code = 43) Position 1 = 40, Position 2 = 42
Branch analysis from position: 40
1 jumps found. (Code = 42) Position 1 = 45
Branch analysis from position: 45
2 jumps found. (Code = 43) Position 1 = 49, Position 2 = 51
Branch analysis from position: 49
1 jumps found. (Code = 42) Position 1 = 54
Branch analysis from position: 54
2 jumps found. (Code = 43) Position 1 = 59, Position 2 = 62
Branch analysis from position: 59
1 jumps found. (Code = 42) Position 1 = 63
Branch analysis from position: 63
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 62
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 51
2 jumps found. (Code = 43) Position 1 = 59, Position 2 = 62
Branch analysis from position: 59
Branch analysis from position: 62
Branch analysis from position: 42
2 jumps found. (Code = 43) Position 1 = 49, Position 2 = 51
Branch analysis from position: 49
Branch analysis from position: 51
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 40, Position 2 = 42
Branch analysis from position: 40
Branch analysis from position: 42
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 34
Branch analysis from position: 32
Branch analysis from position: 34
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 24
Branch analysis from position: 22
Branch analysis from position: 24
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
Branch analysis from position: 15
filename:       /in/qrii7
function name:  doSomeMagic
number of ops:  66
compiled vars:  !0 = $date, !1 = $interval, !2 = $timeInterval
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    7     1        FETCH_OBJ_R                                      ~3      !0, 'y'
          2        IS_EQUAL                                                 ~3, 0
          3      > JMPZ                                                     ~4, ->6
          4    >   QM_ASSIGN                                        ~5      null
          5      > JMP                                                      ->9
          6    >   FETCH_OBJ_R                                      ~6      !0, 'y'
          7        CONCAT                                           ~7      ~6, 'Y'
          8        QM_ASSIGN                                        ~5      ~7
          9    >   CONCAT                                           ~8      'P', ~5
    8    10        FETCH_OBJ_R                                      ~9      !0, 'm'
         11        IS_EQUAL                                                 ~9, 0
         12      > JMPZ                                                     ~10, ->15
         13    >   QM_ASSIGN                                        ~11     null
         14      > JMP                                                      ->18
         15    >   FETCH_OBJ_R                                      ~12     !0, 'm'
         16        CONCAT                                           ~13     ~12, 'M'
         17        QM_ASSIGN                                        ~11     ~13
         18    >   CONCAT                                           ~14     ~8, ~11
    9    19        FETCH_OBJ_R                                      ~15     !0, 'd'
         20        IS_EQUAL                                                 ~15, 0
         21      > JMPZ                                                     ~16, ->24
         22    >   QM_ASSIGN                                        ~17     null
         23      > JMP                                                      ->27
         24    >   FETCH_OBJ_R                                      ~18     !0, 'd'
         25        CONCAT                                           ~19     ~18, 'D'
         26        QM_ASSIGN                                        ~17     ~19
         27    >   CONCAT                                           ~20     ~14, ~17
    6    28        ASSIGN                                                   !1, ~20
   11    29        FETCH_OBJ_R                                      ~22     !0, 'h'
         30        IS_EQUAL                                                 ~22, 0
         31      > JMPZ                                                     ~23, ->34
         32    >   QM_ASSIGN                                        ~24     null
         33      > JMP                                                      ->37
         34    >   FETCH_OBJ_R                                      ~25     !0, 'h'
         35        CONCAT                                           ~26     ~25, 'H'
         36        QM_ASSIGN                                        ~24     ~26
   12    37    >   FETCH_OBJ_R                                      ~27     !0, 'i'
         38        IS_EQUAL                                                 ~27, 0
         39      > JMPZ                                                     ~28, ->42
         40    >   QM_ASSIGN                                        ~29     null
         41      > JMP                                                      ->45
         42    >   FETCH_OBJ_R                                      ~30     !0, 'i'
         43        CONCAT                                           ~31     ~30, 'M'
         44        QM_ASSIGN                                        ~29     ~31
         45    >   CONCAT                                           ~32     ~24, ~29
   13    46        FETCH_OBJ_R                                      ~33     !0, 's'
         47        IS_EQUAL                                                 ~33, 0
         48      > JMPZ                                                     ~34, ->51
         49    >   QM_ASSIGN                                        ~35     null
         50      > JMP                                                      ->54
         51    >   FETCH_OBJ_R                                      ~36     !0, 'y'
         52        CONCAT                                           ~37     ~36, 'S'
         53        QM_ASSIGN                                        ~35     ~37
         54    >   CONCAT                                           ~38     ~32, ~35
   10    55        ASSIGN                                                   !2, ~38
   14    56        ISSET_ISEMPTY_CV                                 ~40     !2
         57        BOOL_NOT                                         ~41     ~40
         58      > JMPZ                                                     ~41, ->62
         59    >   CONCAT                                           ~42     'T', !2
         60        QM_ASSIGN                                        ~43     ~42
         61      > JMP                                                      ->63
         62    >   QM_ASSIGN                                        ~43     null
         63    >   CONCAT                                           ~44     !1, ~43
         64      > RETURN                                                   ~44
   15    65*     > RETURN                                                   null

End of function dosomemagic

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
230.25 ms | 976 KiB | 14 Q