3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = '{"shop_id":"vb-test-0023","shop_transaction_id":1003786,"gross":20.99,"currency":"USD","reccuring":1,"email":"test@mail.com","desc":"Premium Account (type A) purchase","ip":"127.0.0.1","geo_country":"USA","geo_city":"Newark","user_name":"John Doe","lang":"en","subscription_desc":"Monthly autosubscription is enabled","success_Url":"http:\/\/vb.com\/purchase-callback\/genesis-success","fail_Url":"http:\/\/vb.com\/purchase-callback\/genesis-fail","callback_url":"http:\/\/vb.com\/purchase-callback\/genesis-status","sign":"3r7j6Gie5gmHUO09hXp3v\/in04Q="}'; echo http_build_query((array)json_decode($str));
Output for 5.2.0 - 7.1.0
shop_id=vb-test-0023&shop_transaction_id=1003786&gross=20.99&currency=USD&reccuring=1&email=test%40mail.com&desc=Premium+Account+%28type+A%29+purchase&ip=127.0.0.1&geo_country=USA&geo_city=Newark&user_name=John+Doe&lang=en&subscription_desc=Monthly+autosubscription+is+enabled&success_Url=http%3A%2F%2Fvb.com%2Fpurchase-callback%2Fgenesis-success&fail_Url=http%3A%2F%2Fvb.com%2Fpurchase-callback%2Fgenesis-fail&callback_url=http%3A%2F%2Fvb.com%2Fpurchase-callback%2Fgenesis-status&sign=3r7j6Gie5gmHUO09hXp3v%2Fin04Q%3D
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/SIKqD on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: http_build_query() in /in/SIKqD on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: http_build_query() in /in/SIKqD on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: http_build_query() in /in/SIKqD on line 3