3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array('k', 'o'); unset($arr[0]); unset($arr[1]); var_dump($arr); $arr = array_values($arr); $arr[]='hoho'; var_dump($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EvGUf
function name:  (null)
number of ops:  16
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                                                 
    9     6        INIT_FCALL                                               'array_values'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        ASSIGN                                                   !0, $3
   10    10        ASSIGN_DIM                                               !0
         11        OP_DATA                                                  'hoho'
   11    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.02 ms | 1394 KiB | 17 Q