3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo preg_replace('~^\d+_|_v\d+$~', '', '100_7_Some_string_11_there_2001_v12');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0Usit
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   FRAMELESS_ICALL_3                preg_replace        ~0      '%7E%5E%5Cd%2B_%7C_v%5Cd%2B%24%7E', ''
          1        OP_DATA                                                      '100_7_Some_string_11_there_2001_v12'
          2        ECHO                                                         ~0
          3      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
214.85 ms | 1519 KiB | 8 Q