3v4l.org

run code in 500+ PHP versions simultaneously
<?php $phrase = "// Hi++ My name's Jon'ss and .. ''c and d''ef."; echo preg_replace('/(\w+)/', '<$0>', $phrase);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/licqT
function name:  (null)
number of ops:  5
compiled vars:  !0 = $phrase
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%2F%2F+Hi%2B%2B+My+name%27s+Jon%27ss+and+..+%27%27c+and+d%27%27ef.'
    4     1        FRAMELESS_ICALL_3                preg_replace        ~2      '%2F%28%5Cw%2B%29%2F', '%3C%240%3E'
          2        OP_DATA                                                      !0
          3        ECHO                                                         ~2
          4      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
148.88 ms | 3267 KiB | 13 Q