3v4l.org

run code in 500+ PHP versions simultaneously
<?php $re = '/\b(?:All DLC BG|DLC Comfort)\b(*SKIP)(*FAIL)|\bDLC\b/m'; $title = 'test All DLC BG test DLC Comfort and DLC here test here All DLC BG All DLC BG BG ALL DLC'; $result = preg_replace($re, '', $title); echo $result;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tZghq
function name:  (null)
number of ops:  7
compiled vars:  !0 = $re, !1 = $title, !2 = $result
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%2F%5Cb%28%3F%3AAll+DLC+BG%7CDLC+Comfort%29%5Cb%28%2ASKIP%29%28%2AFAIL%29%7C%5CbDLC%5Cb%2Fm'
    4     1        ASSIGN                                                       !1, 'test+All+DLC+BG+test+DLC+Comfort+and+DLC+here%0A%0Atest+here+All+DLC+BG+All+DLC+BG+BG+ALL+DLC'
    7     2        FRAMELESS_ICALL_3                preg_replace        ~5      !0, ''
          3        OP_DATA                                                      !1
          4        ASSIGN                                                       !2, ~5
    9     5        ECHO                                                         !2
   10     6      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.37 ms | 2027 KiB | 13 Q