3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'days1' => ['30', '90', '50', '50', '5'], 'price1' => ['5', '10', '12', '13', '1'], 'days2' => ['30', '90', '180'], 'price2' => ['6', '7', '10'], ]; var_export(array_combine($array['days1'], $array['price1']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lKghm
function name:  (null)
number of ops:  11
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'var_export'
          2        INIT_FCALL                                               'array_combine'
          3        FETCH_DIM_R                                      ~2      !0, 'days1'
          4        SEND_VAL                                                 ~2
          5        FETCH_DIM_R                                      ~3      !0, 'price1'
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.19 ms | 1010 KiB | 15 Q