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]); var_dump(bin2hex($string));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FroWn
function name:  (null)
number of ops:  16
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
    6     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'bin2hex'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.66 ms | 1394 KiB | 17 Q