3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = [ 'contractors_payments_1c_id' => 'er6545454' ,'suppliers_id' => 30 ,'contractors_payments_total' => 78000 ,'contractors_payments_date' => '2015-07-26 12:00:00' ,'contractors_payments_customers_id' => null ]; echo http_build_query(['data' => json_encode($x),'key' => '1c_secret_key']);
based on nJ3ZD
Output for 5.4.0 - 7.2.0
data=%7B%22contractors_payments_1c_id%22%3A%22er6545454%22%2C%22suppliers_id%22%3A30%2C%22contractors_payments_total%22%3A78000%2C%22contractors_payments_date%22%3A%222015-07-26+12%3A00%3A00%22%2C%22contractors_payments_customers_id%22%3Anull%7D&key=1c_secret_key
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/ZtSYq on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/ZtSYq on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/ZtSYq on line 3
Process exited with code 255.