3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo http_build_url("http://user@www.example.com/pub/index.php?a=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/RSkI2
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'http_build_url'
          1        SEND_VAL_EX                                              'http%3A%2F%2Fuser%40www.example.com%2Fpub%2Findex.php%3Fa%3Db%23files'
    4     2        SEND_VAL_EX                                              <array>
    9     3        FETCH_CONSTANT                                   ~0      'HTTP_URL_STRIP_AUTH'
          4        FETCH_CONSTANT                                   ~1      'HTTP_URL_JOIN_PATH'
          5        BW_OR                                            ~2      ~0, ~1
          6        FETCH_CONSTANT                                   ~3      'HTTP_URL_JOIN_QUERY'
          7        BW_OR                                            ~4      ~2, ~3
          8        FETCH_CONSTANT                                   ~5      'HTTP_URL_STRIP_FRAGMENT'
          9        BW_OR                                            ~6      ~4, ~5
         10        SEND_VAL_EX                                              ~6
         11        DO_FCALL                                      0  $7      
         12        ECHO                                                     $7
   11    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.35 ms | 1384 KiB | 13 Q