3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = "/**\n * this is my shit\n */"; echo $d; echo preg_replace('@/\*(.*?)\*/@',"",$d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RPY1G
function name:  (null)
number of ops:  9
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'
    3     1        ECHO                                                     !0
    4     2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAL                                                 '%40%2F%5C%2A%28.%2A%3F%29%5C%2A%2F%40'
          4        SEND_VAL                                                 ''
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        ECHO                                                     $2
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.98 ms | 1394 KiB | 15 Q