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));
based on FN75o
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
transaction_subject=&payment_date=16%3A14%3A45+Jul+08%2C+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%40gen.tech&payment_type=instant&protection_eligibility=Eligible&verify_sign=APgiXGyNKmISRWx-0xnMhpadR6s0Aj5QwRnZWvKA4hemgqVQhd6R737K&payer_status=verified&payer_email=richard.cooper.ta%40gmail.com&txn_id=09U19195UJ7056802&quantity=1&receiver_email=paypal_sp%40gen.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