3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [1, 2]; $a += [3, 4]; var_dump($a); $a = array_merge($a, [3, 4]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xb1lA
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN_OP                                     1          !0, <array>
    7     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    9     5        INIT_FCALL                                               'array_merge'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 <array>
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !0, $4
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.35 ms | 1394 KiB | 17 Q