3v4l.org

run code in 500+ PHP versions simultaneously
<?php $s = "क. ಕ. के. ಕೆ. "; echo preg_replace('~\b(?<!\p{M})\p{L}\p{M}*+\.~u', '<pre>$0</pre>', $s);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gdFNR
function name:  (null)
number of ops:  5
compiled vars:  !0 = $s
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%E0%A4%95.+%E0%B2%95.+%E0%A4%95%E0%A5%87.+%E0%B2%95%E0%B3%86.+'
    4     1        FRAMELESS_ICALL_3                preg_replace        ~2      '%7E%5Cb%28%3F%3C%21%5Cp%7BM%7D%29%5Cp%7BL%7D%5Cp%7BM%7D%2A%2B%5C.%7Eu', '%3Cpre%3E%240%3C%2Fpre%3E'
          2        OP_DATA                                                      !0
          3        ECHO                                                         ~2
          4      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
226.23 ms | 3327 KiB | 13 Q