3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.96 ms | 1385 KiB | 15 Q