3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = "/**\n * this is my shit\n */\nThis is the content!"; echo $d; echo "\n\n"; echo preg_replace('@/\*((.|\n)*?)\*/@',"",$d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DrdVs
function name:  (null)
number of ops:  10
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%2A%2A%0A+%2A+this+is+my+shit%0A+%2A%2F%0AThis+is+the+content%21'
    3     1        ECHO                                                     !0
    4     2        ECHO                                                     '%0A%0A'
    5     3        INIT_FCALL                                               'preg_replace'
          4        SEND_VAL                                                 '%40%2F%5C%2A%28%28.%7C%5Cn%29%2A%3F%29%5C%2A%2F%40'
          5        SEND_VAL                                                 ''
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $2      
          8        ECHO                                                     $2
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.94 ms | 1394 KiB | 15 Q