3v4l.org

run code in 300+ PHP versions simultaneously
<?php $href = 'http://ambulatoriy.ru/nashi-yslugi/profosmotryi.html?&utm_medium=cpc&utm_source=ambulatoriy_yadir&utm_campaign=ambulatoriy&utm_content=proyti_predvaritel&utm_term={keyword}'; $parsed_url = parse_url($href); unset($parsed_url['scheme']); $href = http_build_url($parsed_url); var_dump($href);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KIFNk
function name:  (null)
number of ops:  14
compiled vars:  !0 = $href, !1 = $parsed_url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fambulatoriy.ru%2Fnashi-yslugi%2Fprofosmotryi.html%3F%26utm_medium%3Dcpc%26utm_source%3Dambulatoriy_yadir%26utm_campaign%3Dambulatoriy%26utm_content%3Dproyti_predvaritel%26utm_term%3D%7Bkeyword%7D'
    4     1        INIT_FCALL                                               'parse_url'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    5     5        UNSET_DIM                                                !1, 'scheme'
    6     6        INIT_FCALL_BY_NAME                                       'http_build_url'
          7        SEND_VAR_EX                                              !1
          8        DO_FCALL                                      0  $5      
          9        ASSIGN                                                   !0, $5
    9    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.24 ms | 1394 KiB | 17 Q