3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = ['one', 'two', 'three']; $arr2 = ['three', 'four']; $arr3 = ['two', 'five', 'six', 'seven']; print_r( array_unique( $arr1 + $arr2 + $arr3) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fdvtf
function name:  (null)
number of ops:  12
compiled vars:  !0 = $arr1, !1 = $arr2, !2 = $arr3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <array>
    7     3        INIT_FCALL                                               'print_r'
          4        INIT_FCALL                                               'array_unique'
          5        ADD                                              ~6      !0, !1
          6        ADD                                              ~7      ~6, !2
          7        SEND_VAL                                                 ~7
          8        DO_ICALL                                         $8      
          9        SEND_VAR                                                 $8
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.14 ms | 1398 KiB | 17 Q