3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.53 ms | 1394 KiB | 19 Q