3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "batista _____________ andre"; $b = "___"; $c = "***"; $a = str_replace($b, $b."", $a); echo $a; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jFYC2
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'batista+_____________+andre'
    3     1        ASSIGN                                                   !1, '___'
    4     2        ASSIGN                                                   !2, '%2A%2A%2A'
    5     3        INIT_FCALL                                               'str_replace'
          4        SEND_VAR                                                 !1
          5        CONCAT                                           ~6      !1, ''
          6        SEND_VAL                                                 ~6
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $7      
          9        ASSIGN                                                   !0, $7
    6    10        ECHO                                                     !0
    7    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.4 ms | 1394 KiB | 15 Q