3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_replace("/^[^a-zA-Z]+|[!#$%&'* +/=?^`{|}~]+/", "", '_(32jkashdfkj$#!!&&')); var_dump( preg_replace( '|[^a-z0-9_.\-@]|i', '', '_(32jkashdfkj$#!!&&' ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dK24s
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5E%5B%5Ea-zA-Z%5D%2B%7C%5B%21%23%24%25%26%27%2A+%2B%2F%3D%3F%5E%60%7B%7C%7D%7E%5D%2B%2F'
          3        SEND_VAL                                                 ''
          4        SEND_VAL                                                 '_%2832jkashdfkj%24%23%21%21%26%26'
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                                 
    3     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'preg_replace'
         10        SEND_VAL                                                 '%7C%5B%5Ea-z0-9_.%5C-%40%5D%7Ci'
         11        SEND_VAL                                                 ''
         12        SEND_VAL                                                 '_%2832jkashdfkj%24%23%21%21%26%26'
         13        DO_ICALL                                         $2      
         14        SEND_VAR                                                 $2
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.51 ms | 1386 KiB | 17 Q