3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo print_d(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/BLadM
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'print_d'
          1        INIT_FCALL_BY_NAME                                       'http_build_url'
          2        SEND_VAL_EX                                              'http%3A%2F%2Fuser%40www.example.com%2Fpub%2Findex.php%3Fa%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_NO_REF_EX                                       $7
         14        DO_FCALL                                      0  $8      
         15        ECHO                                                     $8
   11    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.96 ms | 1393 KiB | 13 Q