3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rr='input name=&quot;LFMIdsite&quot; value=&quot;5678&quot;'; echo str_replace('name=&quot;LFMIdsite&quot; value=&quot;(.*?)&quot;', 'name=&quot;LFMIdsite&quot; value=&quot;500&quot;', $rr); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b2Bg1
function name:  (null)
number of ops:  8
compiled vars:  !0 = $rr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'input+name%3D%26quot%3BLFMIdsite%26quot%3B+value%3D%26quot%3B5678%26quot%3B'
    3     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 'name%3D%26quot%3BLFMIdsite%26quot%3B+value%3D%26quot%3B%28.%2A%3F%29%26quot%3B'
          3        SEND_VAL                                                 'name%3D%26quot%3BLFMIdsite%26quot%3B+value%3D%26quot%3B500%26quot%3B'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
    4     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.02 ms | 1394 KiB | 15 Q