3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(http_build_url("http://user@www.example.com/pub/index.php?x=b#files", array( "scheme" => "ftp", "host" => "ftp.example.com", "path" => "files/current/", "query" => "a=c" ), HTTP_URL_STRIP_AUTH | HTTP_URL_JOIN_PATH | HTTP_URL_JOIN_QUERY | HTTP_URL_STRIP_FRAGMENT ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UW3af
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL_BY_NAME                                       'http_build_url'
          2        SEND_VAL_EX                                              'http%3A%2F%2Fuser%40www.example.com%2Fpub%2Findex.php%3Fx%3Db%23files'
    5     3        SEND_VAL_EX                                              <array>
   10     4        FETCH_CONSTANT                                   ~0      'HTTP_URL_STRIP_AUTH'
          5        FETCH_CONSTANT                                   ~1      'HTTP_URL_JOIN_PATH'
          6        BW_OR                                            ~2      ~0, ~1
          7        FETCH_CONSTANT                                   ~3      'HTTP_URL_JOIN_QUERY'
          8        BW_OR                                            ~4      ~2, ~3
          9        FETCH_CONSTANT                                   ~5      'HTTP_URL_STRIP_FRAGMENT'
         10        BW_OR                                            ~6      ~4, ~5
         11        SEND_VAL_EX                                              ~6
         12        DO_FCALL                                      0  $7      
         13        SEND_VAR                                                 $7
         14        DO_ICALL                                                 
   11    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.92 ms | 1394 KiB | 15 Q