3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.97 ms | 1393 KiB | 13 Q