3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 37
Branch analysis from position: 37
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 2
Branch analysis from position: 39
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 18
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 30
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 26
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 2
Branch analysis from position: 39
Branch analysis from position: 2
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 2
Branch analysis from position: 39
Branch analysis from position: 2
Branch analysis from position: 30
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 30
Branch analysis from position: 21
Branch analysis from position: 30
Branch analysis from position: 18
filename:       /in/Y7b5N
function name:  (null)
number of ops:  40
compiled vars:  !0 = $i, !1 = $result, !2 = $years, !3 = $months
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->37
    4     2    >   ASSIGN                                                   !1, <array>
    5     3        INIT_FCALL                                               'intdiv'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 12
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !2, $6
    6     8      > JMPZ                                                     !2, ->18
    7     9    >   CONCAT                                           ~9      !2, '+year'
         10        IS_NOT_IDENTICAL                                         !2, 1
         11      > JMPZ                                                     ~10, ->14
         12    >   QM_ASSIGN                                        ~11     's'
         13      > JMP                                                      ->15
         14    >   QM_ASSIGN                                        ~11     ''
         15    >   CONCAT                                           ~12     ~9, ~11
         16        ASSIGN_DIM                                               !1
         17        OP_DATA                                                  ~12
    9    18    >   MOD                                              ~13     !0, 12
         19        ASSIGN                                                   !3, ~13
   10    20      > JMPZ                                                     !3, ->30
   11    21    >   CONCAT                                           ~16     !3, '+month'
         22        IS_NOT_IDENTICAL                                         !3, 1
         23      > JMPZ                                                     ~17, ->26
         24    >   QM_ASSIGN                                        ~18     's'
         25      > JMP                                                      ->27
         26    >   QM_ASSIGN                                        ~18     ''
         27    >   CONCAT                                           ~19     ~16, ~18
         28        ASSIGN_DIM                                               !1
         29        OP_DATA                                                  ~19
   13    30    >   INIT_FCALL                                               'implode'
         31        SEND_VAL                                                 '%2C+'
         32        SEND_VAR                                                 !1
         33        DO_ICALL                                         $20     
         34        CONCAT                                           ~21     $20, '%0A'
         35        ECHO                                                     ~21
    3    36        PRE_INC                                                  !0
         37    >   IS_SMALLER_OR_EQUAL                                      !0, 60
         38      > JMPNZ                                                    ~23, ->2
   14    39    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.47 ms | 972 KiB | 15 Q