3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = ' blah blah /* anything in here */ etc'; $string = preg_replace('#\/\*.+\*\/#', '/* */', $string); echo $string;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XmltD
function name:  (null)
number of ops:  6
compiled vars:  !0 = $string
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '+blah+blah+%2F%2A+anything+in+here+%2A%2F+etc'
    4     1        FRAMELESS_ICALL_3                preg_replace        ~2      '%23%5C%2F%5C%2A.%2B%5C%2A%5C%2F%23', '%2F%2A+%2A%2F'
          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:
166.57 ms | 2552 KiB | 13 Q