3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = array('name' => 'assets.pdf'); $url = "http://nr.dev/media/123"; echo http_build_url($url, $file);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uo9T4
function name:  (null)
number of ops:  8
compiled vars:  !0 = $file, !1 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 'http%3A%2F%2Fnr.dev%2Fmedia%2F123'
    6     2        INIT_FCALL_BY_NAME                                       'http_build_url'
          3        SEND_VAR_EX                                              !1
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0  $4      
          6        ECHO                                                     $4
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.47 ms | 1397 KiB | 13 Q