3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.34 ms | 1394 KiB | 15 Q