3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '{"transaction_subject":"","payment_date":"16:19:39 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":"ANxwiqbTUnTqfI3.gbvJOMMmHL7zAa0PX7WDNL2QFEpcqcvFJxYkobJ4","payer_status":"verified","payer_email":"richard.cooper.ta@gmail.com","txn_id":"1UC98760CW318732J","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":"1000000669","charset":"windows-1252","notify_version":"3.8","ipn_track_id":"665c3d5d9cf93"},'; echo http_build_query(json_decode($a, true));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: http_build_query(): Argument #1 ($data) must be of type array, null given in /in/qHfBm:7 Stack trace: #0 /in/qHfBm(7): http_build_query(NULL) #1 {main} thrown in /in/qHfBm on line 7
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
87.08 ms | 401 KiB | 8 Q