3v4l.org

run code in 300+ PHP versions simultaneously
<?php $link = 'http://www.triff-chemnitz.de/fuu/baar?sid=12rhdgsvgz3gfusgvc'; $url = parse_url($link); parse_str($url['query'], $query); foreach ($query as $key => $value) { if (in_array($key, $this->removeQueryValues)) { unset($query[$key]); } } $url['query'] = http_build_query($query); echo http_build_url($url);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 22
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 22
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 21
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 21
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/mrUVv
function name:  (null)
number of ops:  33
compiled vars:  !0 = $link, !1 = $url, !2 = $query, !3 = $value, !4 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.triff-chemnitz.de%2Ffuu%2Fbaar%3Fsid%3D12rhdgsvgz3gfusgvc'
    5     1        INIT_FCALL                                               'parse_url'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
    6     5        INIT_FCALL                                               'parse_str'
          6        FETCH_DIM_R                                      ~8      !1, 'query'
          7        SEND_VAL                                                 ~8
          8        SEND_REF                                                 !2
          9        DO_ICALL                                                 
    8    10      > FE_RESET_R                                       $10     !2, ->22
         11    > > FE_FETCH_R                                       ~11     $10, !3, ->22
         12    >   ASSIGN                                                   !4, ~11
    9    13        INIT_FCALL                                               'in_array'
         14        SEND_VAR                                                 !4
         15        FETCH_THIS                                       $13     
         16        FETCH_OBJ_R                                      ~14     $13, 'removeQueryValues'
         17        SEND_VAL                                                 ~14
         18        DO_ICALL                                         $15     
         19      > JMPZ                                                     $15, ->21
   10    20    >   UNSET_DIM                                                !2, !4
    8    21    > > JMP                                                      ->11
         22    >   FE_FREE                                                  $10
   14    23        INIT_FCALL                                               'http_build_query'
         24        SEND_VAR                                                 !2
         25        DO_ICALL                                         $17     
         26        ASSIGN_DIM                                               !1, 'query'
         27        OP_DATA                                                  $17
   16    28        INIT_FCALL_BY_NAME                                       'http_build_url'
         29        SEND_VAR_EX                                              !1
         30        DO_FCALL                                      0  $18     
         31        ECHO                                                     $18
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.69 ms | 1396 KiB | 21 Q