3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = '#[`a-zA=Z]+,#'; echo preg_replace($pattern, '', '(`anurag`, 1,2), (1,2,3), (2 ,3 ,3) ');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oIrtb
function name:  (null)
number of ops:  8
compiled vars:  !0 = $pattern
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '%23%5B%60a-zA%3DZ%5D%2B%2C%23'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 ''
          4        SEND_VAL                                                 '%28%60anurag%60%2C+1%2C2%29%2C+%281%2C2%2C3%29%2C+%282+%2C3++%2C3%29+'
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.91 ms | 1393 KiB | 15 Q