3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = "/b[0-9]{4}(*SKIP)(*F)|[^a-z_]/"; $str = "b7001_cp_parc_venc_fluxo_1234"; echo preg_replace($pattern, "", $str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mamTB
function name:  (null)
number of ops:  9
compiled vars:  !0 = $pattern, !1 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2Fb%5B0-9%5D%7B4%7D%28%2ASKIP%29%28%2AF%29%7C%5B%5Ea-z_%5D%2F'
    3     1        ASSIGN                                                   !1, 'b7001_cp_parc_venc_fluxo_1234'
    4     2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 ''
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7        ECHO                                                     $4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.51 ms | 998 KiB | 14 Q