3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = [ 'set1' => [ 'key1' => 'value1', 'key2' => 'value2' ], 'set2' => [ 'key1' => 'value1', 'key2' => 'value2' ] ]; $output = [ 'key1' => 'value1', 'key2' => 'value2', 'key3' => 'value3', 'key4' => 'value4', 'key5' => 'value5', 'key6' => 'value6', ];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JFjSk
function name:  (null)
number of ops:  3
compiled vars:  !0 = $input, !1 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
   15     1        ASSIGN                                                   !1, <array>
   24     2      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.9 ms | 1392 KiB | 13 Q