3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urlParts = (parse_url('http://213.34.94.142:8080/WebService_Live/service.php?wsdl')); $url = http_build_url([ 'scheme' => $urlParts['scheme'], 'host' => $urlParts['host'], 'path' => $urlParts['path'] ]); var_dump($url);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LCMNk
function name:  (null)
number of ops:  18
compiled vars:  !0 = $urlParts, !1 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'parse_url'
          1        SEND_VAL                                                 'http%3A%2F%2F213.34.94.142%3A8080%2FWebService_Live%2Fservice.php%3Fwsdl'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL_BY_NAME                                       'http_build_url'
    5     5        FETCH_DIM_R                                      ~4      !0, 'scheme'
          6        INIT_ARRAY                                       ~5      ~4, 'scheme'
    6     7        FETCH_DIM_R                                      ~6      !0, 'host'
          8        ADD_ARRAY_ELEMENT                                ~5      ~6, 'host'
    7     9        FETCH_DIM_R                                      ~7      !0, 'path'
         10        ADD_ARRAY_ELEMENT                                ~5      ~7, 'path'
         11        SEND_VAL_EX                                              ~5
         12        DO_FCALL                                      0  $8      
    4    13        ASSIGN                                                   !1, $8
    9    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.87 ms | 1394 KiB | 17 Q