3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 35
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 35
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 28
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 28
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 35
filename:       /in/1JR98
function name:  (null)
number of ops:  45
compiled vars:  !0 = $item_colors, !1 = $result, !2 = $color, !3 = $colors
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Vario+Base+Unit+with+steel%2C+large%2C+black%2Forange'
    5     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%2C+'
          4        INIT_FCALL                                               'str_replace'
          5        SEND_VAL                                                 'Vario+Base+Unit+with+'
          6        SEND_VAL                                                 ''
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                         $7      
         11      > FE_RESET_R                                       $8      $7, ->35
         12    > > FE_FETCH_R                                               $8, !2, ->35
    7    13    >   INIT_FCALL                                               'explode'
         14        SEND_VAL                                                 '%2F'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                         $9      
         17        ASSIGN                                                   !3, $9
    8    18        COUNT                                            ~11     !3
         19        IS_IDENTICAL                                             ~11, 2
         20      > JMPZ                                                     ~12, ->28
         21    >   INIT_FCALL                                               'array_push'
         22        SEND_REF                                                 !1
         23        SEND_UNPACK                                              !3
         24        CHECK_UNDEF_ARGS                                         
         25        DO_ICALL                                         $13     
         26        QM_ASSIGN                                        ~14     $13
         27      > JMP                                                      ->33
         28    >   INIT_FCALL                                               'array_push'
         29        SEND_REF                                                 !1
         30        SEND_VAR                                                 !2
         31        DO_ICALL                                         $15     
         32        QM_ASSIGN                                        ~14     $15
         33    >   FREE                                                     ~14
    6    34      > JMP                                                      ->12
         35    >   FE_FREE                                                  $8
   13    36        INIT_FCALL                                               'implode'
         37        SEND_VAL                                                 '+'
         38        SEND_VAR                                                 !1
         39        DO_ICALL                                         $16     
         40        ECHO                                                     $16
   16    41        INIT_FCALL                                               'var_dump'
         42        SEND_VAR                                                 !1
         43        DO_ICALL                                                 
   26    44      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.53 ms | 976 KiB | 18 Q