3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(array(1),2,3); $b = array(1,2,3); $f = array(2,3,4); $c = array_merge($a, $b, $f); var_dump($c); $d = array_unique(array(array(1,2,3), array(2,3,4))); var_dump($d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1DCVX
function name:  (null)
number of ops:  20
compiled vars:  !0 = $a, !1 = $b, !2 = $f, !3 = $c, !4 = $d
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>
    6     3        INIT_FCALL                                               'array_merge'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $8      
          8        ASSIGN                                                   !3, $8
    8     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !3
         11        DO_ICALL                                                 
    9    12        INIT_FCALL                                               'array_unique'
         13        SEND_VAL                                                 <array>
         14        DO_ICALL                                         $11     
         15        ASSIGN                                                   !4, $11
   11    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !4
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.99 ms | 1395 KiB | 19 Q