3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.96 ms | 1394 KiB | 19 Q