3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "foobar"; var_dump(isset($string[1]), isset($string[997])); unset($string[1]); unset($string[997]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n63dl
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'foobar'
    3     1        INIT_FCALL                                               'var_dump'
          2        ISSET_ISEMPTY_DIM_OBJ                         0  ~2      !0, 1
          3        SEND_VAL                                                 ~2
          4        ISSET_ISEMPTY_DIM_OBJ                         0  ~3      !0, 997
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
    4     7        UNSET_DIM                                                !0, 1
    5     8        UNSET_DIM                                                !0, 997
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145 ms | 1398 KiB | 15 Q