3v4l.org

run code in 300+ PHP versions simultaneously
<?php $buff='سلامی به گرمي آشنایی'; echo $buff, PHP_EOL; $buff = str_replace("ی","ي",$buff); $buff = str_replace("ک","ك",$buff); echo $buff;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tOgmj
function name:  (null)
number of ops:  17
compiled vars:  !0 = $buff
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%D8%B3%D9%84%D8%A7%D9%85%DB%8C+%D8%A8%D9%87+%DA%AF%D8%B1%D9%85%D9%8A+%D8%A2%D8%B4%D9%86%D8%A7%DB%8C%DB%8C'
    3     1        ECHO                                                     !0
          2        ECHO                                                     '%0A'
    4     3        INIT_FCALL                                               'str_replace'
          4        SEND_VAL                                                 '%DB%8C'
          5        SEND_VAL                                                 '%D9%8A'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $2      
          8        ASSIGN                                                   !0, $2
    5     9        INIT_FCALL                                               'str_replace'
         10        SEND_VAL                                                 '%DA%A9'
         11        SEND_VAL                                                 '%D9%83'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $4      
         14        ASSIGN                                                   !0, $4
    6    15        ECHO                                                     !0
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.54 ms | 1394 KiB | 15 Q