3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a =array('1,2,6'); $b =array('2,3,1'); $c = array_combine($a,$b); print_r(array_combine($a,$b));echo $c[2];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uXHFU
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'array_combine'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    5     7        INIT_FCALL                                               'print_r'
          8        INIT_FCALL                                               'array_combine'
          9        SEND_VAR                                                 !0
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $7      
         12        SEND_VAR                                                 $7
         13        DO_ICALL                                                 
         14        FETCH_DIM_R                                      ~9      !2, 2
         15        ECHO                                                     ~9
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.98 ms | 1394 KiB | 17 Q