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/VjLpr
function name:  (null)
number of ops:  36
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'gen_key'
          2        SEND_VAL                                                 'key_1000'
          3        SEND_VAL                                                 5
          4        DO_FCALL                                      0  $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
   21     7        INIT_FCALL                                               'print_r'
          8        INIT_FCALL                                               'gen_key'
          9        SEND_VAL                                                 'key_1001'
         10        SEND_VAL                                                 5
         11        DO_FCALL                                      0  $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                                 
   23    14        INIT_FCALL                                               'print_r'
         15        INIT_FCALL                                               'gen_key'
         16        SEND_VAL                                                 'key_1002'
         17        SEND_VAL                                                 5
         18        DO_FCALL                                      0  $4      
         19        SEND_VAR                                                 $4
         20        DO_ICALL                                                 
   25    21        INIT_FCALL                                               'print_r'
         22        INIT_FCALL                                               'gen_key'
         23        SEND_VAL                                                 'key_1003'
         24        SEND_VAL                                                 5
         25        DO_FCALL                                      0  $6      
         26        SEND_VAR                                                 $6
         27        DO_ICALL                                                 
   27    28        INIT_FCALL                                               'print_r'
         29        INIT_FCALL                                               'gen_key'
         30        SEND_VAL                                                 'key_1004'
         31        SEND_VAL                                                 5
         32        DO_FCALL                                      0  $8      
         33        SEND_VAR                                                 $8
         34        DO_ICALL                                                 
         35      > RETURN                                                   1

Function gen_key:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 5
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 5
Branch analysis from position: 23
Branch analysis from position: 5
Branch analysis from position: 20
filename:       /in/VjLpr
function name:  gen_key
number of ops:  25
compiled vars:  !0 = $key, !1 = $mod, !2 = $result, !3 = $i, !4 = $new_key, !5 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    6     2        ASSIGN                                                   !2, <array>
    7     3        ASSIGN                                                   !3, 0
    8     4      > JMP                                                      ->20
    9     5    >   CONCAT                                           ~8      !0, '_'
          6        CONCAT                                           ~9      ~8, !3
          7        ASSIGN                                                   !4, ~9
   10     8        INIT_FCALL                                               'crc32'
          9        SEND_VAR                                                 !4
         10        DO_ICALL                                         $11     
         11        MOD                                              ~12     $11, !1
         12        ASSIGN                                                   !5, ~12
   11    13        ADD                                              ~14     !3, 1
         14        ASSIGN                                                   !3, ~14
   12    15        ISSET_ISEMPTY_DIM_OBJ                         0  ~16     !2, !5
         16        BOOL_NOT                                         ~17     ~16
         17      > JMPZ                                                     ~17, ->20
   13    18    >   ASSIGN_DIM                                               !2, !5
         19        OP_DATA                                                  !4
    8    20    >   COUNT                                            ~19     !2
         21        IS_SMALLER                                               ~19, !1
         22      > JMPNZ                                                    ~20, ->5
   16    23    > > RETURN                                                   !2
   17    24*     > RETURN                                                   null

End of function gen_key

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
270.14 ms | 977 KiB | 20 Q