3v4l.org

run code in 300+ PHP versions simultaneously
<?php $additional_fixed_charge = urlencodechar("0"); $additional_fixed_charge_currency = urlencodechar("brl"); $additional_var_description_1 = urlencodechar("xxx"); $additional_var_required_1 = urlencodechar("0"); $additional_var_value_1 = urlencodechar("1"); $additional_var_visible_1 = urlencodechar("1"); $border_color = urlencodechar("CDD17A"); $button_color = urlencodechar("CDD17A"); $buyer_city = urlencodechar("São Paulo"); $buyer_complement = urlencodechar("Casa"); $buyer_country = urlencodechar("bra"); $buyer_document_type = urlencodechar("cpf"); $buyer_document_number = urlencodechar("123.456.789-10"); $buyer_email = urlencodechar("ivotferreira@yahoo.com.br"); $buyer_lastname = urlencodechar("Torres Ferrira"); $buyer_message = urlencodechar("1"); $buyer_name = urlencodechar("Ivo"); $buyer_number = urlencodechar("123"); $buyer_phone = urlencodechar("1192923434"); $buyer_phone_extension = urlencodechar("011"); $buyer_sex = urlencodechar("M"); $buyer_state = urlencodechar("São Paulo"); $buyer_street = urlencodechar("Rua Teste"); $buyer_zip_code = urlencodechar("09896-210"); $change_quantity = urlencodechar("0"); $country_id = urlencodechar("2"); $currency = urlencodechar("brl"); $display_additional_charge = urlencodechar("1"); $display_shipping = urlencodechar("1"); $error_url = urlencodechar("http://www.yahoo.com.br"); $expanded_sale_detail = urlencodechar("1"); $expanded_step_AD = urlencodechar("0"); $expanded_step_PM = urlencodechar("1"); $expanded_step_SC = urlencodechar("0"); $font_color = urlencodechar("005926"); $header_image = urlencodechar("http://www.dinheiromaileventos.com.br/images/ervadocenewfull.jpg"); $header_width = urlencodechar("2"); $hover_step_color = urlencodechar("CDD17A"); $item_ammount_1 = urlencodechar("100.00"); $item_code_1 = urlencodechar("002"); $item_currency_1 = urlencodechar("brl"); $item_name_1 = urlencodechar("Caixa de Chá Verde 50 gramas"); $item_quantity_1 = urlencodechar("1"); $item_weight_1 = urlencodechar("0400"); $language = urlencodechar("es"); $links_color = urlencodechar("005926"); //User in the Safe Mode $merchant = urlencodechar("287C3F17-6BC6-4321-8B9F-BD5240B1FE0C"); $ok_url = urlencodechar("http://www.uol.com.br"); $payment_method_1 = urlencodechar(""); $payment_method_available = urlencodechar("all"); $pending_url = urlencodechar("http://www.terra.com.br"); $seller_name = urlencodechar("Erva Doce Produtos Naturais"); $shipping_cost_1_1 = urlencodechar("5000"); $shipping_currency_1 = urlencodechar("ars"); $shipping_type_1 = urlencodechar("0"); $step_color = urlencodechar("CDD17A"); $tool = urlencodechar("button"); $transaction_id = urlencodechar("LS001"); $weight_1 = urlencodechar("kg"); function urlencodechar($str){ $newstrencode=""; $countstr=strlen($str); for($i=0;$i<$countstr;$i++){ $newstr = substr($str, $i,1); if($newstr==" "){ $strencode="%20"; } else{ $strencode=urlencode($newstr); } if(substr_count($strencode, "%")==0){ $newstrencode .=$strencode; } else{ $newstrencodeaux=strtolower($strencode); $newstrencode .=$newstrencodeaux; } } return $newstrencode; } $concatenar = "additional_fixed_charge=".$additional_fixed_charge; $concatenar .= "&additional_fixed_charge_currency=".$additional_fixed_charge_currency; $concatenar .= "&additional_var_description_1=".$additional_var_description_1; $concatenar .= "&additional_var_required_1=".$additional_var_required_1; $concatenar .= "&additional_var_value_1=".$additional_var_value_1; $concatenar .= "&additional_var_visible_1=".$additional_var_visible_1; $concatenar .= "&border_color=".$border_color; $concatenar .= "&button_color=".$button_color; $concatenar .= "&buyer_city=".$buyer_city; $concatenar .= "&buyer_complement=".$buyer_complement; $concatenar .= "&buyer_country=".$buyer_country; $concatenar .= "&buyer_document_number=".$buyer_document_number; $concatenar .= "&buyer_document_type=".$buyer_document_type; $concatenar .= "&buyer_email=".$buyer_email; $concatenar .= "&buyer_lastname=".$buyer_lastname; $concatenar .= "&buyer_message=".$buyer_message; //$concatenar .= "&buyer_nacionality=".$buyer_nacionality; $concatenar .= "&buyer_name=".$buyer_name; $concatenar .= "&buyer_number=".$buyer_number; $concatenar .= "&buyer_phone=".$buyer_phone; $concatenar .= "&buyer_phone_extension=".$buyer_phone_extension; $concatenar .= "&buyer_sex=".$buyer_sex; $concatenar .= "&buyer_state=".$buyer_state; $concatenar .= "&buyer_street=".$buyer_street; $concatenar .= "&buyer_zip_code=".$buyer_zip_code; $concatenar .= "&change_quantity=".$change_quantity; $concatenar .= "&country_id=".$country_id; $concatenar .= "&currency=".$currency; $concatenar .= "&display_additional_charge=".$display_additional_charge; $concatenar .= "&display_shipping=".$display_shipping; $concatenar .= "&error_url=".$error_url; $concatenar .= "&expanded_sale_detail=".$expanded_sale_detail; $concatenar .= "&expanded_step_AD=".$expanded_step_AD; $concatenar .= "&expanded_step_PM=".$expanded_step_PM; $concatenar .= "&expanded_step_SC=".$expanded_step_SC; $concatenar .= "&font_color=".$font_color; $concatenar .= "&header_image=".$header_image; $concatenar .= "&header_width=".$header_width; $concatenar .= "&hover_step_color=".$hover_step_color; $concatenar .= "&item_ammount_1=".$item_ammount_1; $concatenar .= "&item_code_1=".$item_code_1; $concatenar .= "&item_currency_1=".$item_currency_1; $concatenar .= "&item_name_1=".$item_name_1; $concatenar .= "&item_quantity_1=".$item_quantity_1; $concatenar .= "&item_weight_1=".$item_weight_1; $concatenar .= "&language=".$language; $concatenar .= "&links_color=".$links_color; $concatenar .= "&merchant=".$merchant; $concatenar .= "&ok_url=".$ok_url; $concatenar .= "&payment_method_1=".$payment_method_1; $concatenar .= "&payment_method_available=".$payment_method_available; $concatenar .= "&pending_url=".$pending_url; $concatenar .= "&seller_name=".$seller_name; $concatenar .= "&shipping_cost_1_1=".$shipping_cost_1_1; $concatenar .= "&shipping_currency_1=".$shipping_currency_1; $concatenar .= "&shipping_type_1=".$shipping_type_1; $concatenar .= "&step_color=".$step_color; $concatenar .= "&tool=".$tool; $concatenar .= "&Transaction_id=".$transaction_id; $concatenar .= "&weight_1=".$weight_1; $hash = md5($concatenar."198380EF-A4BF-4B9E-8EBD-A650654252B7"); echo "https://checkout.dineromail.com/CheckOut?".$concatenar."&hash=".$hash; ?>
Output for git.master, git.master_jit, rfc.property-hooks
https://checkout.dineromail.com/CheckOut?additional_fixed_charge=0&additional_fixed_charge_currency=brl&additional_var_description_1=xxx&additional_var_required_1=0&additional_var_value_1=1&additional_var_visible_1=1&border_color=CDD17A&button_color=CDD17A&buyer_city=S%c3%a3o%20Paulo&buyer_complement=Casa&buyer_country=bra&buyer_document_number=123.456.789-10&buyer_document_type=cpf&buyer_email=ivotferreira%40yahoo.com.br&buyer_lastname=Torres%20Ferrira&buyer_message=1&buyer_name=Ivo&buyer_number=123&buyer_phone=1192923434&buyer_phone_extension=011&buyer_sex=M&buyer_state=S%c3%a3o%20Paulo&buyer_street=Rua%20Teste&buyer_zip_code=09896-210&change_quantity=0&country_id=2&currency=brl&display_additional_charge=1&display_shipping=1&error_url=http%3a%2f%2fwww.yahoo.com.br&expanded_sale_detail=1&expanded_step_AD=0&expanded_step_PM=1&expanded_step_SC=0&font_color=005926&header_image=http%3a%2f%2fwww.dinheiromaileventos.com.br%2fimages%2fervadocenewfull.jpg&header_width=2&hover_step_color=CDD17A&item_ammount_1=100.00&item_code_1=002&item_currency_1=brl&item_name_1=Caixa%20de%20Ch%c3%a1%20Verde%2050%20gramas&item_quantity_1=1&item_weight_1=0400&language=es&links_color=005926&merchant=287C3F17-6BC6-4321-8B9F-BD5240B1FE0C&ok_url=http%3a%2f%2fwww.uol.com.br&payment_method_1=&payment_method_available=all&pending_url=http%3a%2f%2fwww.terra.com.br&seller_name=Erva%20Doce%20Produtos%20Naturais&shipping_cost_1_1=5000&shipping_currency_1=ars&shipping_type_1=0&step_color=CDD17A&tool=button&Transaction_id=LS001&weight_1=kg&hash=4c28669f3994d1344928696a88768366

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:
40.51 ms | 405 KiB | 8 Q