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("WrathBRL@zmail.blizzard.com"); $buyer_lastname = urlencodechar("Wing"); $buyer_message = urlencodechar("0"); $buyer_name = urlencodechar("Death"); // $buyer_number = urlencodechar("123"); $buyer_phone = urlencodechar("800123123123"); // $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("https://us.battle.net/account/management/payment/offsite-payment-landing.html?result=fail&method=dinero_mail&regionId=1&orderId=163676383"); // $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(""); // $header_width = urlencodechar("2"); // $hover_step_color = urlencodechar("CDD17A"); $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"); // $item_weight_1 = urlencodechar("0400"); // $language = urlencodechar("es"); // $links_color = urlencodechar("005926"); $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_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("KTFUZC"); // $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_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; echo $concatenar; ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.40.0040.01218.84
8.3.30.0130.00719.08
8.3.20.0080.00020.34
8.3.10.0040.00423.66
8.3.00.0090.00019.38
8.2.170.0090.01222.96
8.2.160.0070.00720.24
8.2.150.0080.00024.18
8.2.140.0100.00024.66
8.2.130.0060.00326.16
8.2.120.0000.00822.13
8.2.110.0000.01022.04
8.2.100.0100.00318.16
8.2.90.0080.00019.29
8.2.80.0030.00518.15
8.2.70.0050.00317.75
8.2.60.0030.00517.80
8.2.50.0050.00318.07
8.2.40.0000.00820.00
8.2.30.0000.00819.91
8.2.20.0040.00417.84
8.2.10.0020.00518.28
8.2.00.0040.00417.96
8.1.270.0070.00724.00
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0050.00523.91
8.1.230.0120.00019.27
8.1.220.0040.00417.91
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0030.00817.52
8.1.180.0030.00618.10
8.1.170.0050.00318.71
8.1.160.0110.00022.00
8.1.150.0000.00918.68
8.1.140.0070.00017.44
8.1.130.0030.00317.89
8.1.120.0000.00717.57
8.1.110.0080.00017.61
8.1.100.0040.00417.57
8.1.90.0040.00417.57
8.1.80.0000.00717.46
8.1.70.0000.00817.55
8.1.60.0090.00017.71
8.1.50.0040.00417.50
8.1.40.0040.00417.54
8.1.30.0000.00817.59
8.1.20.0030.00517.70
8.1.10.0060.00317.50
8.1.00.0000.00817.48
8.0.300.0000.00820.70
8.0.290.0000.00717.43
8.0.280.0070.00018.48
8.0.270.0070.00017.36
8.0.260.0070.00017.25
8.0.250.0000.00717.17
8.0.240.0000.00717.01
8.0.230.0030.00317.01
8.0.220.0050.00217.09
8.0.210.0000.00817.07
8.0.200.0030.00317.13
8.0.190.0000.00816.99
8.0.180.0040.00417.02
8.0.170.0040.00417.08
8.0.160.0040.00417.05
8.0.150.0070.00017.03
8.0.140.0020.00516.92
8.0.130.0000.00813.49
8.0.120.0030.00616.89
8.0.110.0060.00316.98
8.0.100.0050.00217.01
8.0.90.0080.00017.05
8.0.80.0060.00917.04
8.0.70.0000.00817.12
8.0.60.0080.00017.06
8.0.50.0000.00717.12
8.0.30.0070.01417.14
8.0.20.0140.01117.41
8.0.10.0040.00416.98
8.0.00.0120.00616.97
7.4.330.0000.00515.00
7.4.320.0000.00716.75
7.4.300.0030.00316.68
7.4.290.0050.00216.65
7.4.280.0030.00516.71
7.4.270.0000.00716.71
7.4.260.0070.00016.69
7.4.250.0060.00316.70
7.4.240.0040.00416.62
7.4.230.0000.00716.70
7.4.220.0150.01216.65
7.4.210.0080.00816.76
7.4.200.0000.00716.50
7.4.190.0000.00716.75
7.4.160.0080.00816.60
7.4.150.0120.00617.40
7.4.140.0060.01317.86
7.4.130.0080.00816.67
7.4.120.0100.00816.68
7.4.110.0120.00916.72
7.4.100.0060.01216.69
7.4.90.0090.00916.70
7.4.80.0080.01119.39
7.4.70.0090.00916.71
7.4.60.0070.01116.51
7.4.50.0040.00416.49
7.4.40.0180.00316.66
7.4.30.0130.00416.75
7.4.00.0110.00315.03
7.3.330.0040.00413.49
7.3.320.0000.00613.56
7.3.310.0000.00716.59
7.3.300.0000.00716.58
7.3.290.0030.01416.54
7.3.280.0080.01216.54
7.3.270.0070.01017.40
7.3.260.0060.01216.59
7.3.250.0110.00816.70
7.3.240.0090.01516.71
7.3.230.0030.01316.69
7.3.210.0120.00616.72
7.3.200.0090.00919.39
7.3.190.0130.00816.58
7.3.180.0120.01216.61
7.3.170.0070.01016.69
7.3.160.0130.00616.66
7.3.120.0100.00714.99
7.2.330.0060.01416.90
7.2.320.0070.01016.77
7.2.310.0120.01216.70
7.2.300.0170.00316.98
7.2.290.0120.01216.90
7.2.60.0100.00616.95
7.2.00.0060.00919.35
7.1.100.0120.00618.07
7.1.70.0040.00417.29
7.1.60.0170.00719.46
7.1.50.0040.01816.94
7.1.00.0030.07322.45
7.0.200.0470.00614.55
7.0.140.0100.07022.22
7.0.60.0070.07719.98
7.0.50.0130.07318.04
7.0.40.0030.08720.10
7.0.30.0200.05020.12
7.0.20.0170.04020.19
7.0.10.0130.05320.24
7.0.00.0000.05020.07
5.6.280.0070.07021.15
5.6.210.0070.05020.70
5.6.200.0100.06318.20
5.6.190.0170.03720.63
5.6.180.0130.04720.33
5.6.170.0230.04320.58
5.6.160.0100.08720.44
5.6.150.0030.08318.30
5.6.140.0030.07318.31
5.6.130.0000.06318.17
5.6.120.0070.04021.08
5.6.110.0100.08321.16
5.6.100.0070.08321.17
5.6.90.0100.05021.04
5.6.80.0030.04020.55
5.5.350.0370.06320.44
5.5.340.0070.03718.10
5.5.330.0200.08020.19
5.5.320.0070.08020.31
5.5.310.0370.04020.51
5.5.300.0100.07317.96
5.5.290.0030.06018.00
5.5.280.0030.05020.80
5.5.270.0030.08720.90
5.5.260.0070.06020.77
5.5.250.0000.04320.61
5.5.240.0030.05320.38
5.4.450.1870.02719.20
5.4.440.1830.03719.39
5.4.430.1600.04319.41
5.4.420.0230.03719.52
5.4.410.0100.03019.05
5.4.400.0070.03318.95
5.4.390.1400.03319.06
5.4.380.1830.03318.95
5.4.370.1830.04019.17
5.4.360.1970.03719.24
5.4.350.1700.04319.09
5.4.340.1970.05019.17
5.4.320.2000.05018.95
5.4.310.1870.03719.16
5.4.300.2070.04318.98
5.4.290.1900.04318.87
5.4.280.1730.04019.21
5.4.270.2070.03319.24
5.4.260.1970.04018.98
5.4.250.2100.03319.23
5.4.240.1930.03019.07
5.4.230.1700.04319.21
5.4.220.1800.03019.14
5.4.210.1970.03719.09
5.4.200.2000.04019.19
5.4.190.1730.04318.99
5.4.180.2100.06018.86
5.4.170.0870.04019.23
5.4.160.0000.04318.96
5.4.150.0100.05718.97
5.4.140.1700.04016.36
5.4.130.1870.05316.36
5.4.120.1930.03716.52
5.4.110.2200.04016.51
5.4.100.1970.03716.28
5.4.90.2000.04716.32
5.4.80.1830.03316.36
5.4.70.1800.03016.27
5.4.60.1730.04016.49
5.4.50.2100.04016.39
5.4.40.1900.04316.26
5.4.30.1900.03316.17
5.4.20.1770.04016.61
5.4.10.1770.04016.45
5.4.00.1870.03715.97
5.3.290.1800.03714.66
5.3.280.1830.03314.52
5.3.270.1800.03714.63
5.3.260.2170.03714.64
5.3.250.1970.03314.54
5.3.240.1870.04714.61
5.3.230.2030.04314.55
5.3.220.0170.04014.51
5.3.210.0130.04014.57
5.3.200.0100.04314.60
5.3.190.0170.03714.51
5.3.180.0200.03314.82
5.3.170.0130.04014.71
5.3.160.0200.03314.68
5.3.150.0130.04014.71
5.3.140.0200.03014.68
5.3.130.0230.04014.64
5.3.120.0230.04014.50
5.3.110.0130.05314.70
5.3.100.0170.03714.04
5.3.90.0170.06313.98
5.3.80.0170.04313.96
5.3.70.0130.03714.05
5.3.60.0200.04014.18
5.3.50.0170.04014.10
5.3.40.0170.06013.98
5.3.30.0330.02313.86
5.3.20.0230.06713.84
5.3.10.0200.07313.60
5.3.00.0230.03313.68
5.2.170.0130.03011.16
5.2.160.0030.03711.10
5.2.150.0130.03011.19
5.2.140.0130.02711.41
5.2.130.0130.04011.23
5.2.120.0100.03311.26
5.2.110.0100.03011.14
5.2.100.0200.05011.26
5.2.90.0130.02711.26
5.2.80.0000.03011.21
5.2.70.0170.05711.04
5.2.60.0170.05311.20
5.2.50.0230.04011.01
5.2.40.0170.03011.08
5.2.30.0030.03711.08
5.2.20.0200.05311.11
5.2.10.0170.04310.86
5.2.00.0170.03310.83
5.1.60.0130.0479.93
5.1.50.0130.0309.94
5.1.40.0100.03710.09
5.1.30.0070.03010.48
5.1.20.0200.05010.36
5.1.10.0100.03310.09
5.1.00.0170.02710.19
5.0.50.0030.0238.92
5.0.40.0070.0478.92
5.0.30.0130.0308.92
5.0.20.0130.0138.92
5.0.10.0070.0408.92
5.0.00.0130.0578.92
4.4.90.0100.0338.92
4.4.80.0100.0238.92
4.4.70.0070.0178.92
4.4.60.0070.0138.92
4.4.50.0100.0308.92
4.4.40.0030.0408.92
4.4.30.0100.0338.92
4.4.20.0100.0378.92
4.4.10.0100.0178.92
4.4.00.0030.0278.92
4.3.110.0070.0278.92
4.3.100.0030.0178.92
4.3.90.0100.0208.92
4.3.80.0030.0338.92
4.3.70.0070.0208.92
4.3.60.0000.0178.92
4.3.50.0000.0178.92
4.3.40.0030.0408.92
4.3.30.0070.0308.92
4.3.20.0030.0278.92
4.3.10.0100.0338.92
4.3.00.0030.0308.92

preferences:
42.05 ms | 400 KiB | 5 Q