3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [1,2,3,4]; $b = [2,5,6,7,8]; $c = $a+b; echo ($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PdiiM
function name:  (null)
number of ops:  7
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        FETCH_CONSTANT                                   ~5      'b'
          3        ADD                                              ~6      !0, ~5
          4        ASSIGN                                                   !2, ~6
    6     5        ECHO                                                     !2
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.64 ms | 1392 KiB | 13 Q