3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Set Backend Variables $hide_offers = "FALSE"; $payment_type_id = 1; $payment_fee = 0; $payment_min_threshold = 1; $currency_id = 0; $payment_setting_id = 1; $billing_cycle_id = 3; $contact_language_id = 1; $price_format_ids = 1; $vat_tax_required = "FALSE"; $affiliate_tier_id = 0; $account_status_id = 3; $referral_affiliate_id = 0; $contact_timezone = "EST"; $form_array = array("api_key","affiliate_name","account_status_id","affiliate_tier_id","hide_offers","website","tax_class","ssn_tax_id","vat_tax_required","swift_iban","payment_to","payment_fee","payment_min_threshold","currency_id","payment_setting_id","billing_cycle_id","payment_type_id","payment_type_info","address_street","address_street2","address_city","address_state","address_zip_code","address_country","contact_first_name","contact_middle_name","contact_last_name","contact_email_address","contact_password","contact_title","contact_phone_work","contact_phone_cell","contact_phone_fax","contact_im_service","contact_im_name","contact_timezone","contact_language_id","media_type_ids","price_format_ids","vertical_category_ids","country_codes","tag_ids","date_added","signup_ip_address","referral_affiliate_id","referral_notes","terms_and_conditions_agreed","notes"); $form_vars_compact = compact($form_array); $qry_str = http_build_query($form_vars_compact) . "\n"; echo $qry_str;
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
account_status_id=3&affiliate_tier_id=0&hide_offers=FALSE&vat_tax_required=FALSE&payment_fee=0&payment_min_threshold=1&currency_id=0&payment_setting_id=1&billing_cycle_id=3&payment_type_id=1&contact_timezone=EST&contact_language_id=1&price_format_ids=1&referral_affiliate_id=0
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: http_build_query() in /in/JlQIq on line 22
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: http_build_query() in /in/JlQIq on line 22
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: http_build_query() in /in/JlQIq on line 22