3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://www.whatever.com/some/path/"; $url2 = "/other/path/"; echo http_build_url($url, $url2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/imUa8
function name:  (null)
number of ops:  8
compiled vars:  !0 = $url, !1 = $url2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.whatever.com%2Fsome%2Fpath%2F'
    4     1        ASSIGN                                                   !1, '%2Fother%2Fpath%2F'
    6     2        INIT_FCALL_BY_NAME                                       'http_build_url'
          3        SEND_VAR_EX                                              !0
          4        SEND_VAR_EX                                              !1
          5        DO_FCALL                                      0  $4      
          6        ECHO                                                     $4
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.43 ms | 1392 KiB | 13 Q