3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "cake"; $str[1] = "o"; echo $str;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OiXMZ
function name:  (null)
number of ops:  5
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'cake'
    4     1        ASSIGN_DIM                                               !0, 1
          2        OP_DATA                                                  'o'
    6     3        ECHO                                                     !0
          4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.9 ms | 1392 KiB | 13 Q