3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to_send = array('cep' => '90550-004'); $to_send['produtos'][] = array( 'idgrade' => "2", 'qtd' => "2", ); json_encode($to_send); //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/AnpEM
function name:  (null)
number of ops:  8
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                                               'json_encode'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    8     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.54 ms | 1398 KiB | 15 Q