3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pool1 = array(111, 222, 333, 444); $pool2 = array(555, 666, 777, 888); $numbers1 = array_combine($pool1, $pool1); $numbers2 = array_combine($pool2, $pool2); $numbers = $numbers1 + $numbers2; var_dump($numbers1, $numbers2, $numbers);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hi6Hu
function name:  (null)
number of ops:  20
compiled vars:  !0 = $pool1, !1 = $pool2, !2 = $numbers1, !3 = $numbers2, !4 = $numbers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'array_combine'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $7      
          6        ASSIGN                                                   !2, $7
    7     7        INIT_FCALL                                               'array_combine'
          8        SEND_VAR                                                 !1
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $9      
         11        ASSIGN                                                   !3, $9
    9    12        ADD                                              ~11     !2, !3
         13        ASSIGN                                                   !4, ~11
   11    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !2
         16        SEND_VAR                                                 !3
         17        SEND_VAR                                                 !4
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.31 ms | 1002 KiB | 15 Q