3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.88 ms | 1393 KiB | 15 Q