3v4l.org

run code in 500+ PHP versions simultaneously
<?php $text = 'Abc *def* ghi *jkl*'; echo preg_replace('~\*([^*]*)\*~', '<b>$1</b>', $text);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/B3VfL
function name:  (null)
number of ops:  5
compiled vars:  !0 = $text
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'Abc+%2Adef%2A+ghi+%2Ajkl%2A'
    4     1        FRAMELESS_ICALL_3                preg_replace        ~2      '%7E%5C%2A%28%5B%5E%2A%5D%2A%29%5C%2A%7E', '%3Cb%3E%241%3C%2Fb%3E'
          2        OP_DATA                                                      !0
          3        ECHO                                                         ~2
          4      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.65 ms | 2017 KiB | 13 Q