3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = [ 'contractors_claims_1c_id' => 'd-6543254', 'contractors_claims_types_id' => 1, 'suppliers_id' => 30, 'categories_id' => 29031, 'contractors_claims_total'=> 3000, 'contractors_claims_customers_id' => null , 'products' => [ 65477, 655545 ] ,'key' => '1c_secret_key' ]; echo http_build_query(['data' => json_encode($x),'key' => '1c_secret_key']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nJ3ZD
function name:  (null)
number of ops:  11
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   17     1        INIT_FCALL                                               'http_build_query'
          2        INIT_FCALL                                               'json_encode'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        INIT_ARRAY                                       ~3      $2, 'data'
          6        ADD_ARRAY_ELEMENT                                ~3      '1c_secret_key', 'key'
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                         $4      
          9        ECHO                                                     $4
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.09 ms | 939 KiB | 18 Q