3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array('model' => array('foo bar' => 'herp derp')); var_dump(http_build_query($data, null, null, PHP_QUERY_RFC1738)); var_dump(http_build_query($data, null, null, PHP_QUERY_RFC3986));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uE36F
function name:  (null)
number of ops:  20
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'http_build_query'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 null
          5        SEND_VAL                                                 null
          6        SEND_VAL                                                 1
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'http_build_query'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 null
         14        SEND_VAL                                                 null
         15        SEND_VAL                                                 2
         16        DO_ICALL                                         $4      
         17        SEND_VAR                                                 $4
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.34 ms | 1394 KiB | 17 Q