3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_url = 'http://dev-ap2.coresense.com/~bwhitten/clients/supershoes/websites/4/website/mens-dress-shoes?view_all'; print(preg_replace('(\?|&)view_all', '', $current_url));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vhq0c
function name:  (null)
number of ops:  8
compiled vars:  !0 = $current_url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fdev-ap2.coresense.com%2F%7Ebwhitten%2Fclients%2Fsupershoes%2Fwebsites%2F4%2Fwebsite%2Fmens-dress-shoes%3Fview_all'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%28%5C%3F%7C%26%29view_all'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.53 ms | 1394 KiB | 15 Q