3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.98 ms | 1394 KiB | 15 Q