3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.63 ms | 1394 KiB | 15 Q