3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump("" === http_build_query(array( ))); var_dump("foo%3Bbar=lorem%26ipsum" === http_build_query(array("foo;bar" => "lorem&ipsum")));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u0SZK
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'http_build_query'
          2        SEND_VAL                                                 <array>
          3        DO_ICALL                                         $0      
          4        IS_IDENTICAL                                     ~1      $0, ''
          5        SEND_VAL                                                 ~1
          6        DO_ICALL                                                 
    3     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'http_build_query'
          9        SEND_VAL                                                 <array>
         10        DO_ICALL                                         $3      
         11        IS_IDENTICAL                                     ~4      $3, 'foo%253Bbar%3Dlorem%2526ipsum'
         12        SEND_VAL                                                 ~4
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.52 ms | 1398 KiB | 17 Q