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; ?>

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.70.0070.01117.00
8.3.60.0000.01417.13
8.3.50.0070.01022.11
8.3.40.0040.01118.84
8.3.30.0120.00619.04
8.3.20.0040.00420.20
8.3.10.0040.00423.53
8.3.00.0080.00019.26
8.2.180.0090.00916.63
8.2.170.0000.01422.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0000.01426.16
8.2.120.0070.00022.25
8.2.110.0040.00422.17
8.2.100.0040.00717.84
8.2.90.0060.00319.34
8.2.80.0030.00517.97
8.2.70.0040.00417.75
8.2.60.0090.00317.67
8.2.50.0100.00018.07
8.2.40.0040.00419.95
8.2.30.0000.00819.81
8.2.20.0050.00317.85
8.2.10.0000.00718.31
8.2.00.0000.00717.80
8.1.280.0090.00625.92
8.1.270.0040.00424.02
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0030.00623.78
8.1.230.0080.00419.16
8.1.220.0040.00417.77
8.1.210.0030.00618.77
8.1.200.0060.00317.48
8.1.190.0080.00017.25
8.1.180.0040.00418.10
8.1.170.0060.00318.59
8.1.160.0060.00322.08
8.1.150.0090.00018.61
8.1.140.0040.00417.38
8.1.130.0030.00317.88
8.1.120.0070.00017.55
8.1.110.0040.00417.56
8.1.100.0000.00717.55
8.1.90.0040.00417.52
8.1.80.0000.00817.52
8.1.70.0000.00717.48
8.1.60.0080.00017.67
8.1.50.0080.00017.55
8.1.40.0080.00017.64
8.1.30.0000.00817.63
8.1.20.0040.00417.76
8.1.10.0040.00417.54
8.1.00.0030.00517.57
8.0.300.0090.00020.71
8.0.290.0050.00317.30
8.0.280.0000.00718.50
8.0.270.0030.00517.38
8.0.260.0060.00017.23
8.0.250.0000.00717.04
8.0.240.0000.00717.08
8.0.230.0040.00417.05
8.0.220.0030.00317.02
8.0.210.0030.00316.91
8.0.200.0000.00617.01
8.0.190.0000.00817.11
8.0.180.0070.00017.03
8.0.170.0040.00417.02
8.0.160.0020.00517.08
8.0.150.0040.00416.95
8.0.140.0040.00416.93
8.0.130.0060.00313.48
8.0.120.0090.00016.88
8.0.110.0000.00817.04
8.0.100.0000.00716.89
8.0.90.0040.00417.05
8.0.80.0070.00816.89
8.0.70.0000.00816.93
8.0.60.0070.00016.86
8.0.50.0000.00717.01
8.0.30.0100.01217.05
8.0.20.0080.01117.40
8.0.10.0050.00317.14
8.0.00.0110.00916.98
7.4.330.0000.00515.00
7.4.320.0060.00016.70
7.4.300.0000.00716.54
7.4.290.0070.00016.54
7.4.280.0000.00716.64
7.4.270.0030.00316.56
7.4.260.0000.00716.68
7.4.250.0030.00516.42
7.4.240.0040.00416.61
7.4.230.0050.00216.40
7.4.220.0130.01316.70
7.4.210.0080.00716.66
7.4.200.0030.00316.75
7.4.190.0080.00016.70
7.4.160.0120.00316.43
7.4.150.0070.01317.40
7.4.140.0060.01117.86
7.4.130.0100.00816.50
7.4.120.0120.00616.55
7.4.110.0100.00716.45
7.4.100.0110.00616.64
7.4.90.0100.00716.63
7.4.80.0110.01219.39
7.4.70.0190.00216.79
7.4.60.0100.00716.55
7.4.50.0000.00616.39
7.4.40.0070.01016.51
7.4.30.0080.01116.77
7.4.00.0060.00914.96
7.3.330.0070.00013.35
7.3.320.0040.00413.25
7.3.310.0040.00416.30
7.3.300.0000.00716.37
7.3.290.0090.00616.45
7.3.280.0120.00816.50
7.3.270.0140.00317.40
7.3.260.0150.00316.61
7.3.250.0090.00716.58
7.3.240.0060.01216.69
7.3.230.0040.01216.48
7.3.210.0120.00616.51
7.3.200.0070.01419.39
7.3.190.0120.00916.59
7.3.180.0080.01416.54
7.3.170.0070.01016.48
7.3.160.0100.00616.53
7.3.120.0100.00615.16
7.2.330.0120.00616.80
7.2.320.0060.01016.88
7.2.310.0070.01016.76
7.2.300.0030.01416.79
7.2.290.0070.01116.85
7.2.60.0030.01016.96
7.2.00.0050.00519.42
7.1.200.0050.00515.61
7.1.100.0030.01217.94
7.1.70.0000.00817.19
7.1.60.0150.01119.46
7.1.50.0060.01216.62
7.1.00.0000.08022.44
7.0.200.0290.00714.82
7.0.140.0000.07722.09
7.0.60.0070.08319.97
7.0.50.0070.07317.96
7.0.40.0030.04320.05
7.0.30.0300.08020.30
7.0.20.0200.03720.05
7.0.10.0200.06320.30
7.0.00.0070.04020.30
5.6.280.0030.07720.94
5.6.210.0130.06720.64
5.6.200.0030.04318.28
5.6.190.0070.08020.33
5.6.180.0230.05020.61
5.6.170.0270.07020.40
5.6.160.0070.08720.48
5.6.150.0130.07318.20
5.6.140.0070.06018.29
5.6.130.0030.04018.21
5.6.120.0070.03721.15
5.6.110.0000.08321.13
5.6.100.0100.08321.00
5.6.90.0030.08721.00
5.6.80.0070.08020.50
5.5.350.0000.04720.46
5.5.340.0070.08017.98
5.5.330.0100.04320.28
5.5.320.0200.05020.27
5.5.310.0170.06320.27
5.5.300.0100.04318.02
5.5.290.0070.08017.96
5.5.280.0070.05020.91
5.5.270.0070.03720.66
5.5.260.0100.08020.89
5.5.250.0070.08720.63
5.5.240.4100.03320.30
5.4.450.0400.06319.45
5.4.440.0700.06719.63
5.4.430.0100.05719.62
5.4.420.0230.04019.48
5.4.410.0170.04719.42
5.4.400.0130.05318.93
5.4.390.0070.05319.16
5.4.380.0300.05318.48
5.4.370.0300.06018.74
5.4.360.0230.05018.79
5.4.350.0170.05318.77
5.4.340.0430.05318.75
5.4.320.0060.03712.51
5.4.310.0050.04212.51
5.4.300.0050.04312.52
5.4.290.0070.03812.50
5.4.280.0030.04012.39
5.4.270.0070.03712.40
5.4.260.0050.04112.39
5.4.250.0070.03912.39
5.4.240.0060.03812.39
5.4.230.0100.03712.38
5.4.220.0060.03712.38
5.4.210.0060.03512.39
5.4.200.0090.03512.39
5.4.190.0090.03412.38
5.4.180.0050.03712.38
5.4.170.0080.03412.39
5.4.160.0060.03612.38
5.4.150.0080.03412.38
5.4.140.0100.03912.07
5.4.130.0070.03812.06
5.4.120.0080.03412.01
5.4.110.0040.03812.00
5.4.100.0070.03412.01
5.4.90.0030.04012.01
5.4.80.0060.03712.01
5.4.70.0050.03612.00
5.4.60.0060.03512.00
5.4.50.0040.03712.01
5.4.40.0030.03811.99
5.4.30.0050.03611.99
5.4.20.0040.03811.99
5.4.10.0070.03411.99
5.4.00.0050.03711.48
5.3.290.0090.04812.80
5.3.280.0060.04012.71
5.3.270.0050.04112.72
5.3.260.0080.04012.72
5.3.250.0080.03612.72
5.3.240.0090.03612.72
5.3.230.0060.03912.71
5.3.220.0090.04312.68
5.3.210.0060.04312.68
5.3.200.0080.04012.68
5.3.190.0060.04112.68
5.3.180.0090.03812.67
5.3.170.0060.04612.67
5.3.160.0080.03812.67
5.3.150.0070.04312.68
5.3.140.0040.04012.66
5.3.130.0060.04012.66
5.3.120.0070.04312.66
5.3.110.0070.04112.66
5.3.100.0080.03612.13
5.3.90.0090.03612.11
5.3.80.0040.04712.11
5.3.70.0100.04412.10
5.3.60.0060.03912.09
5.3.50.0070.03512.04
5.3.40.0080.03512.04
5.3.30.0060.03812.02
5.3.20.0070.03811.78
5.3.10.0070.05211.74
5.3.00.0220.08011.73
5.2.170.0050.0579.23
5.2.160.0110.0369.24
5.2.150.0080.0479.24
5.2.140.0050.0349.23
5.2.130.0070.0319.19
5.2.120.0040.0359.19
5.2.110.0050.0369.20
5.2.100.0060.0389.20
5.2.90.0100.0279.20
5.2.80.0030.0339.19
5.2.70.0050.0319.20
5.2.60.0070.0379.14
5.2.50.0030.0339.11
5.2.40.0080.0279.09
5.2.30.0060.0299.07
5.2.20.0100.0349.06
5.2.10.0040.0308.96
5.2.00.0020.0328.82
5.1.60.0060.0318.11
5.1.50.0030.0358.11
5.1.40.0060.0258.08
5.1.30.0040.0278.43
5.1.20.0040.0278.46
5.1.10.0080.0288.18
5.1.00.0020.0288.18
5.0.50.0050.0206.66
5.0.40.0060.0186.52
5.0.30.0080.0286.34
5.0.20.0040.0196.31
5.0.10.0030.0216.28
5.0.00.0060.0296.29
4.4.90.0030.0164.78
4.4.80.0050.0144.76
4.4.70.0010.0184.75
4.4.60.0040.0154.75
4.4.50.0030.0164.77
4.4.40.0050.0244.71
4.4.30.0070.0124.76
4.4.20.0030.0174.85
4.4.10.0010.0194.85
4.4.00.0030.0274.76
4.3.110.0040.0214.67
4.3.100.0040.0154.66
4.3.90.0050.0134.63
4.3.80.0030.0264.59
4.3.70.0020.0164.63
4.3.60.0020.0164.63
4.3.50.0030.0174.63
4.3.40.0020.0274.54
4.3.30.0040.0183.34
4.3.20.0060.0223.32
4.3.10.0050.0153.27
4.3.00.0130.0208.23

preferences:
45.86 ms | 401 KiB | 5 Q