3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "{"transaction_subject":"","payment_date":"16:14:45 Jul 08, 2017 PDT","txn_type":"web_accept","last_name":"Cooper","residence_country":"GB","item_name":"VictoriaHearts 20 credits Special package","payment_gross":"2.99","mc_currency":"USD","business":"paypal_sp@gen.tech","payment_type":"instant","protection_eligibility":"Eligible","verify_sign":"APgiXGyNKmISRWx-0xnMhpadR6s0Aj5QwRnZWvKA4hemgqVQhd6R737K","payer_status":"verified","payer_email":"richard.cooper.ta@gmail.com","txn_id":"09U19195UJ7056802","quantity":"1","receiver_email":"paypal_sp@gen.tech","first_name":"Richard","payer_id":"JLS3WHLT42998","receiver_id":"PECGSM57JG6RS","item_number":"","payment_status":"Completed","payment_fee":"0.42","mc_fee":"0.42","mc_gross":"2.99","custom":"1000000666","charset":"windows-1252","notify_version":"3.8","ipn_track_id":"6ed3f3276f03e"}"; echo http_build_query(json_decode($a, true));
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.7
Parse error: syntax error, unexpected 'transaction_subject' (T_STRING) in /in/FN75o on line 4
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: syntax error, unexpected T_STRING in /in/FN75o:4 Stack trace: #0 {main}
Process exited with code 255.