3v4l.org

run code in 300+ PHP versions simultaneously
<?php $query_params = http_build_query(array()); var_dump($query_params); var_dump(http_build_url('http://xxxx.com', array('query' => $query_params)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uZIER
function name:  (null)
number of ops:  16
compiled vars:  !0 = $query_params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'http_build_query'
          1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    8     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
   11     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL_BY_NAME                                       'http_build_url'
          9        SEND_VAL_EX                                              'http%3A%2F%2Fxxxx.com'
         10        INIT_ARRAY                                       ~4      !0, 'query'
         11        SEND_VAL_EX                                              ~4
         12        DO_FCALL                                      0  $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.35 ms | 1394 KiB | 17 Q