3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* buyer_email=WrathBRL@zmail.blizzard.com&buyer_lastname=Wing&buyer_message=0&buyer_name=Death&buyer_phone=800123123123&country_id=2&error_url=https://us.battle.net/account/management/payment/offsite-payment-landing.html?result=fail&method=dinero_mail&regionId=1&orderId=163692109&header_image=&item_ammount_1=1000&item_code_1=11000019191000002369&item_currency_1=BRL&item_name_1=Balance+Load&item_quantity_1=1&merchant=D6B8F807-0911-4E7F-8E1F-59674A7EC971&ok_url=https://us.battle.net/account/management/payment/offsite-payment-landing.html?result=success&amp;method=dinero_mail&amp;regionId=1&amp;orderId=163692109&payment_method_available=all&Transaction_id=KTGSHG */ 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; } $buyer_email = urlencodechar("WrathBRL@zmail.blizzard.com"); $buyer_lastname = urlencodechar("Wing"); $buyer_message = urlencodechar("0"); $buyer_name = urlencodechar("Death"); $buyer_phone = urlencodechar("800123123123"); $country_id = urlencodechar("2"); $error_url = urlencodechar("https://us.battle.net/account/management/payment/offsite-payment-landing.html?result=fail&method=dinero_mail&regionId=1&orderId=163692109"); $header_image = urlencodechar(""); $item_ammount_1 = urlencodechar("10.00"); $item_code_1 = urlencodechar("11000019191000002369"); $item_currency_1 = urlencodechar("BRL"); $item_name_1 = urlencodechar("Balance Load"); $item_quantity_1 = urlencodechar("1"); $merchant = urlencodechar("D6B8F807-0911-4E7F-8E1F-59674A7EC971"); $ok_url = urlencodechar("https://us.battle.net/account/management/payment/offsite-payment-landing.html?result=success&method=dinero_mail&regionId=1&orderId=163676383"); $payment_method_available = urlencodechar("all"); $transaction_id = urlencodechar("KTGSHG"); $concatenar .= "&buyer_email=".$buyer_email; $concatenar .= "&buyer_lastname=".$buyer_lastname; $concatenar .= "&buyer_message=".$buyer_message; $concatenar .= "&buyer_name=".$buyer_name; $concatenar .= "&buyer_phone=".$buyer_phone; $concatenar .= "&country_id=".$country_id; $concatenar .= "&error_url=".$error_url; $concatenar .= "&header_image=".$header_image; $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 .= "&merchant=".$merchant; $concatenar .= "&ok_url=".$ok_url; $concatenar .= "&payment_method_available=".$payment_method_available; $concatenar .= "&Transaction_id=".$transaction_id; // $hash = md5($concatenar."198380EF-A4BF-4B9E-8EBD-A650654252B7"); // echo "https://checkout.dineromail.com/CheckOut?".$concatenar."&hash=".$hash; echo $concatenar; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $concatenar in /in/GkSIA on line 48 &buyer_email=WrathBRL%40zmail.blizzard.com&buyer_lastname=Wing&buyer_message=0&buyer_name=Death&buyer_phone=800123123123&country_id=2&error_url=https%3a%2f%2fus.battle.net%2faccount%2fmanagement%2fpayment%2foffsite-payment-landing.html%3fresult%3dfail%26method%3ddinero_mail%26regionId%3d1%26orderId%3d163692109&header_image=&item_ammount_1=10.00&item_code_1=11000019191000002369&item_currency_1=BRL&item_name_1=Balance%20Load&item_quantity_1=1&merchant=D6B8F807-0911-4E7F-8E1F-59674A7EC971&ok_url=https%3a%2f%2fus.battle.net%2faccount%2fmanagement%2fpayment%2foffsite-payment-landing.html%3fresult%3dsuccess%26method%3ddinero_mail%26regionId%3d1%26orderId%3d163676383&payment_method_available=all&Transaction_id=KTGSHG

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:
43.76 ms | 402 KiB | 8 Q