3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.82 ms | 1392 KiB | 13 Q