3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = "**test**"; $str = preg_replace('/\*\*(\w+)\*\*/', '<b>$1</b>', $str); echo $str;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/14VHo
function name:  (null)
number of ops:  6
compiled vars:  !0 = $str
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%2A%2Atest%2A%2A'
    4     1        FRAMELESS_ICALL_3                preg_replace        ~2      '%2F%5C%2A%5C%2A%28%5Cw%2B%29%5C%2A%5C%2A%2F', '%3Cb%3E%241%3C%2Fb%3E'
          2        OP_DATA                                                      !0
          3        ASSIGN                                                       !0, ~2
    5     4        ECHO                                                         !0
    6     5      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.52 ms | 1849 KiB | 13 Q