3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array('crie','dont', 'stay', 'here', 'with', 'your', 'bomb'); var_dump(count($arr),$arr[0]); unset($arr[0]); var_dump(count($arr),$arr[0]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P8f2D
function name:  (null)
number of ops:  15
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'var_dump'
          2        COUNT                                            ~2      !0
          3        SEND_VAL                                                 ~2
          4        FETCH_DIM_R                                      ~3      !0, 0
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
    6     7        UNSET_DIM                                                !0, 0
    7     8        INIT_FCALL                                               'var_dump'
          9        COUNT                                            ~5      !0
         10        SEND_VAL                                                 ~5
         11        FETCH_DIM_R                                      ~6      !0, 0
         12        SEND_VAL                                                 ~6
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.53 ms | 1394 KiB | 15 Q