3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo http_request(['key' => '1c_secret_key', 'contractors_services_1c_id' => '486de007-635a-11e5-a54e-9a9387f3bec8', 'contractors_services_number' => '165', 'contractors_services_types_id' => '3', 'suppliers_id' => '1985', 'product_days_count' => '53', 'contractors_services_total' => '1250.8', 'invoice_number' => '00ЦБ-064020', 'cancelation_date' => '0001-01-01 00:00:00', 'contractors_services_date' => '2015-09-28 00:00:00']);
based on 3MiI5
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function http_request() in /in/TbkC8:2 Stack trace: #0 {main} thrown in /in/TbkC8 on line 2
Process exited with code 255.
Output for 5.4.10 - 5.6.28
Fatal error: Call to undefined function http_request() in /in/TbkC8 on line 2
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/TbkC8 on line 2
Process exited with code 255.