3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $params = Array( Array( "id" => "6050", "family" => Array( "id" => 111, "family_type_id" => 97, "name" => "test_family " ), "category_id" => "1315", "part_number" => "test-part-number", "name" => "Test name", "description" => "Test description", "brand" => "Test brand name", "images" => Array( Array( "display_type" => "1", "url" => "http://www.image-url.test" ) ), "url" => "http://www.product-url.test", "status" => "1", "sale_price" => "406.4515", "recommended_price" => "506.4515", "min_sale_price" => "200.0000", "max_sale_price" => "700.0000", "availability" => Array( Array( "warehouse_id" => "1", "id" => "3" ) ), "handling_time" => Array( Array( "warehouse_id" => "1", "value" => "2" ) ), "stock" => Array( Array( "warehouse_id" => "1", "value" => "2" ) ), "commission" => Array( "type" => "percentage", "value" => "8" ), "vat_id" => "1", "characteristics" => Array( Array( "id" => "5213", "value" => "Characteristic 5213 value" ), Array( "id" => "1339", "value" => "Characteristic 1339 1st value" ), Array( "id" => "1339", "value" => " Characteristic 1339 2nd value" ) ) ) ); var_dump(http_build_query($params));