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 = 5, Position 2 = 23
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 23
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 23
2 jumps found. (Code = 77) Position 1 = 42, Position 2 = 59
Branch analysis from position: 42
2 jumps found. (Code = 78) Position 1 = 43, Position 2 = 59
Branch analysis from position: 43
1 jumps found. (Code = 42) Position 1 = 42
Branch analysis from position: 42
Branch analysis from position: 59
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 59
Branch analysis from position: 23
filename:       /in/gpuqD
function name:  (null)
number of ops:  62
compiled vars:  !0 = $fruits, !1 = $param1, !2 = $param2, !3 = $result, !4 = $fruit, !5 = $defaults, !6 = $row, !7 = $p1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   15     1        ASSIGN                                                   !1, 'color'
   16     2        ASSIGN                                                   !2, 'taste'
   18     3        ASSIGN                                                   !3, <array>
   19     4      > FE_RESET_R                                       $12     !0, ->23
          5    > > FE_FETCH_R                                               $12, !4, ->23
   20     6    >   FETCH_DIM_R                                      ~13     !4, !2
          7        ASSIGN_DIM                                               !5, ~13
          8        OP_DATA                                                  ''
   21     9        FETCH_DIM_R                                      ~15     !4, !1
         10        FETCH_DIM_R                                      ~17     !4, !2
         11        FETCH_DIM_R                                      ~19     !4, !1
         12        FETCH_DIM_R                                      ~21     !4, !2
         13        FETCH_DIM_IS                                     ~20     !3, ~19
         14        FETCH_DIM_IS                                     ~22     ~20, ~21
         15        COALESCE                                         ~23     ~22
         16        QM_ASSIGN                                        ~23     0
         17        FETCH_DIM_R                                      ~24     !4, 'quantity'
         18        ADD                                              ~25     ~23, ~24
         19        FETCH_DIM_W                                      $16     !3, ~15
         20        ASSIGN_DIM                                               $16, ~17
         21        OP_DATA                                                  ~25
   19    22      > JMP                                                      ->5
         23    >   FE_FREE                                                  $12
   23    24        INIT_FCALL                                               'ksort'
         25        SEND_REF                                                 !5
         26        DO_ICALL                                                 
   24    27        INIT_FCALL                                               'ksort'
         28        SEND_REF                                                 !3
         29        DO_ICALL                                                 
   26    30        ECHO                                                     '%3Ctable+border%3D1+cellspacing%3D0+cellpadding%3D4%3E'
   27    31        INIT_FCALL                                               'implode'
         32        SEND_VAL                                                 '%3C%2Fth%3E%3Cth%3E'
         33        INIT_FCALL                                               'array_keys'
         34        SEND_VAR                                                 !5
         35        DO_ICALL                                         $28     
         36        SEND_VAR                                                 $28
         37        DO_ICALL                                         $29     
         38        CONCAT                                           ~30     '%3Ctr%3E%3Cth%3E%3C%2Fth%3E%3Cth%3E', $29
         39        CONCAT                                           ~31     ~30, '%3C%2Fth%3E%3C%2Ftr%3E%0A'
         40        ECHO                                                     ~31
   28    41      > FE_RESET_R                                       $32     !3, ->59
         42    > > FE_FETCH_R                                       ~33     $32, !6, ->59
         43    >   ASSIGN                                                   !7, ~33
   29    44        INIT_FCALL                                               'array_replace'
         45        INIT_ARRAY                                       ~35     !7, 'label'
         46        ADD                                              ~36     ~35, !5
         47        SEND_VAL                                                 ~36
         48        SEND_VAR                                                 !6
         49        DO_ICALL                                         $37     
         50        ASSIGN                                                   !6, $37
   30    51        INIT_FCALL                                               'implode'
         52        SEND_VAL                                                 '%3C%2Ftd%3E%3Ctd%3E'
         53        SEND_VAR                                                 !6
         54        DO_ICALL                                         $39     
         55        CONCAT                                           ~40     '%3Ctr%3E%3Ctd%3E', $39
         56        CONCAT                                           ~41     ~40, '%3C%2Ftd%3E%3C%2Ftr%3E%0A'
         57        ECHO                                                     ~41
   28    58      > JMP                                                      ->42
         59    >   FE_FREE                                                  $32
   32    60        ECHO                                                     '%3C%2Ftable%3E'
         61      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
267.12 ms | 977 KiB | 17 Q