3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.04 ms | 1385 KiB | 17 Q