3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo trim( preg_replace( '/[-+()^ $%&*~]+/', '-', '--This is% my $junk68++ds)(-67url-%-' ), '-' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QFjP3
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'trim'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B-%2B%28%29%5E+%24%25%26%2A%7E%5D%2B%2F'
          3        SEND_VAL                                                 '-'
          4        SEND_VAL                                                 '--This+is%25+my+%24junk68%2B%2Bds%29%28-67url-%25-'
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
    5     7        SEND_VAL                                                 '-'
    3     8        DO_ICALL                                         $1      
    5     9        ECHO                                                     $1
    6    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.54 ms | 997 KiB | 15 Q