3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.48 ms | 1385 KiB | 15 Q