3v4l.org

run code in 300+ PHP versions simultaneously
<?php print '<code>' . http_build_query(array('type' => 'http', 'thing' => 'foo')) . '</code>'; print '<code>' . http_build_query(array('type' => 'http', 'thing' => 'foo'), '', '&') . '</code>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jkCK4
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'http_build_query'
          1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $0      
          3        CONCAT                                           ~1      '%3Ccode%3E', $0
          4        CONCAT                                           ~2      ~1, '%3C%2Fcode%3E'
          5        ECHO                                                     ~2
    4     6        INIT_FCALL                                               'http_build_query'
          7        SEND_VAL                                                 <array>
          8        SEND_VAL                                                 ''
          9        SEND_VAL                                                 '%26'
         10        DO_ICALL                                         $3      
         11        CONCAT                                           ~4      '%3Ccode%3E', $3
         12        CONCAT                                           ~5      ~4, '%3C%2Fcode%3E'
         13        ECHO                                                     ~5
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.52 ms | 1394 KiB | 15 Q