3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to_send = array('cep' => '90550-004'); $to_send['produtos'][] = array( 'idgrade' => "2", 'qtd' => "2", ); print_r(http_build_query($to_send));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8HL9C
function name:  (null)
number of ops:  11
compiled vars:  !0 = $to_send
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        FETCH_DIM_W                                      $2      !0, 'produtos'
          2        ASSIGN_DIM                                               $2
    4     3        OP_DATA                                                  <array>
    7     4        INIT_FCALL                                               'print_r'
          5        INIT_FCALL                                               'http_build_query'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.12 ms | 1394 KiB | 17 Q