3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(http_build_query(['a' => 'b'])); var_dump(http_build_query(['a' => new \DateTime()]));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ECMPq
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'http_build_query'
          2        SEND_VAL                                                     <array>
          3        DO_ICALL                                             $0      
          4        SEND_VAR                                                     $0
          5        DO_ICALL                                                     
    4     6        INIT_FCALL                                                   'var_dump'
          7        INIT_FCALL                                                   'http_build_query'
          8        NEW                                                  $2      'DateTime'
          9        DO_FCALL                                          0          
         10        INIT_ARRAY                                           ~4      $2, 'a'
         11        SEND_VAL                                                     ~4
         12        DO_ICALL                                             $5      
         13        SEND_VAR                                                     $5
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
131.96 ms | 477 KiB | 9 Q