3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '{\rtlch\fcs1 \af56 \ltrch\fcs0 \i\f56\insrsid13383763\charrsid4210380 \\\'e1}'; echo preg_replace('#\{\\rtlch\\fcs1 \\af56 \\ltrch\\fcs0 \\i\\f56\\insrsid13383763\\charrsid4210380( \\\'e1)\}#', '$1', $string);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JOQ1V
function name:  (null)
number of ops:  8
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%5Crtlch%5Cfcs1+%5Caf56+%5Cltrch%5Cfcs0+%5Ci%5Cf56%5Cinsrsid13383763%5Ccharrsid4210380+%5C%27e1%7D'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%23%5C%7B%5Crtlch%5Cfcs1+%5Caf56+%5Cltrch%5Cfcs0+%5Ci%5Cf56%5Cinsrsid13383763%5Ccharrsid4210380%28+%5C%27e1%29%5C%7D%23'
          3        SEND_VAL                                                 '%241'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.17 ms | 1385 KiB | 15 Q