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.0140.00718.70
8.3.60.0110.00416.63
8.3.50.0100.00721.96
8.3.40.0150.00318.79
8.3.30.0110.00319.17
8.3.20.0040.00420.28
8.3.10.0050.00323.61
8.3.00.0090.00019.50
8.2.180.0110.00718.66
8.2.170.0030.01722.96
8.2.160.0070.00720.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00422.13
8.2.110.0000.00821.95
8.2.100.0100.00617.91
8.2.90.0000.01019.35
8.2.80.0030.00517.97
8.2.70.0000.01317.61
8.2.60.0000.00818.05
8.2.50.0080.00018.07
8.2.40.0040.00419.88
8.2.30.0000.00818.24
8.2.20.0000.00817.81
8.2.10.0040.00418.23
8.2.00.0000.00717.96
8.1.280.0120.00925.92
8.1.270.0040.00423.99
8.1.260.0060.00326.35
8.1.250.0050.00228.09
8.1.240.0080.00023.76
8.1.230.0110.00018.97
8.1.220.0060.00317.79
8.1.210.0050.00318.77
8.1.200.0030.00717.25
8.1.190.0040.00417.35
8.1.180.0050.00519.01
8.1.170.0030.00518.78
8.1.160.0040.00421.92
8.1.150.0030.00618.74
8.1.140.0060.00317.51
8.1.130.0070.00017.84
8.1.120.0040.00417.55
8.1.110.0070.00017.47
8.1.100.0030.00517.52
8.1.90.0000.00717.52
8.1.80.0040.00417.48
8.1.70.0030.00317.46
8.1.60.0000.00817.61
8.1.50.0040.00417.48
8.1.40.0000.00817.49
8.1.30.0000.00817.58
8.1.20.0040.00417.67
8.1.10.0040.00417.58
8.1.00.0040.00417.43
8.0.300.0070.00018.77
8.0.290.0000.00817.18
8.0.280.0000.00718.50
8.0.270.0030.00317.21
8.0.260.0000.00717.30
8.0.250.0000.00716.98
8.0.240.0030.00317.01
8.0.230.0030.00317.08
8.0.220.0000.00716.98
8.0.210.0040.00416.99
8.0.200.0000.00717.07
8.0.190.0060.00317.09
8.0.180.0050.00317.01
8.0.170.0030.00517.10
8.0.160.0000.00717.00
8.0.150.0040.00416.91
8.0.140.0040.00416.89
8.0.130.0000.00613.43
8.0.120.0080.00016.86
8.0.110.0000.00816.93
8.0.100.0000.00716.95
8.0.90.0000.00817.02
8.0.80.0090.00617.01
8.0.70.0020.00516.87
8.0.60.0040.00416.86
8.0.50.0050.00216.96
8.0.30.0110.00717.16
8.0.20.0120.00717.40
8.0.10.0000.00717.18
8.0.00.0110.00816.80
7.4.330.0000.00515.00
7.4.320.0000.00616.53
7.4.300.0000.00716.63
7.4.290.0030.00316.64
7.4.280.0000.00716.56
7.4.270.0030.00316.55
7.4.260.0030.00316.66
7.4.250.0080.00016.57
7.4.240.0040.00316.62
7.4.230.0040.00416.41
7.4.220.0080.01316.46
7.4.210.0110.00616.52
7.4.200.0000.00716.75
7.4.190.0080.00016.70
7.4.160.0100.00716.61
7.4.150.0150.00417.40
7.4.140.0080.01017.86
7.4.130.0100.00716.68
7.4.120.0050.01116.60
7.4.110.0090.01216.68
7.4.100.0140.00716.41
7.4.90.0030.01316.46
7.4.80.0090.01219.39
7.4.70.0070.01316.53
7.4.60.0030.01416.63
7.4.50.0030.00316.45
7.4.40.0090.00916.36
7.4.30.0090.00716.35
7.4.00.0070.00714.96
7.3.330.0000.00713.56
7.3.320.0030.00313.34
7.3.310.0040.00416.52
7.3.300.0030.00316.50
7.3.290.0090.00616.53
7.3.280.0050.01516.47
7.3.270.0160.00017.40
7.3.260.0120.00716.48
7.3.250.0070.01016.61
7.3.240.0100.01016.57
7.3.230.0130.00816.54
7.3.210.0190.00316.55
7.3.200.0120.01219.39
7.3.190.0090.01516.48
7.3.180.0060.01416.63
7.3.170.0040.01516.54
7.3.160.0070.01116.51
7.3.120.0120.00314.86
7.2.330.0110.00716.76
7.2.320.0000.01716.82
7.2.310.0100.00716.69
7.2.300.0080.00816.74
7.2.290.0120.00616.59
7.2.60.0070.00716.74
7.2.00.0030.01319.51
7.1.200.0060.00615.43
7.1.100.0060.00618.13
7.1.70.0050.00516.92
7.1.60.0100.01319.46
7.1.50.0030.01016.93
7.1.00.0000.08022.35
7.0.200.0290.00414.76
7.0.140.0030.07322.07
7.0.60.0000.04320.11
7.0.50.0070.08017.85
7.0.40.0070.04020.09
7.0.30.0270.08020.26
7.0.20.0230.04720.10
7.0.10.0030.09020.26
7.0.00.0030.07020.23
5.6.280.0030.07721.11
5.6.210.0100.08020.51
5.6.200.0070.08718.27
5.6.190.0130.08720.61
5.6.180.0270.08020.64
5.6.170.0230.08320.49
5.6.160.0100.08720.39
5.6.150.0070.06718.21
5.6.140.0000.09018.20
5.6.130.0070.03718.31
5.6.120.0200.07020.73
5.6.110.0170.08321.16
5.6.100.0130.07321.13
5.6.90.0130.07320.98
5.6.80.0030.04020.42
5.5.350.0300.07320.41
5.5.340.0170.07717.98
5.5.330.0100.06720.21
5.5.320.0370.07720.51
5.5.310.0230.05720.27
5.5.300.0100.05717.99
5.5.290.0070.08017.95
5.5.280.0070.04020.90
5.5.270.0070.04720.96
5.5.260.0100.05020.78
5.5.250.0070.08320.60
5.5.240.0170.04020.05
5.4.450.1030.03719.41
5.4.440.1070.02719.32
5.4.430.0600.03319.32
5.4.420.0330.03019.48
5.4.410.0300.04019.19
5.4.400.1500.02719.20
5.4.390.0730.03718.87
5.4.380.0430.05318.80
5.4.370.0270.06018.74
5.4.360.0370.05018.73
5.4.350.0300.06718.73
5.4.340.0330.05318.74
5.4.320.0060.03612.52
5.4.310.0050.04112.52
5.4.300.0070.03512.52
5.4.290.0070.03812.50
5.4.280.0070.03612.39
5.4.270.0070.04412.39
5.4.260.0080.03912.39
5.4.250.0060.03812.39
5.4.240.0080.03612.40
5.4.230.0080.04112.39
5.4.220.0020.04212.38
5.4.210.0050.03912.39
5.4.200.0070.04012.39
5.4.190.0080.03712.38
5.4.180.0050.04412.38
5.4.170.0060.03912.39
5.4.160.0060.03812.38
5.4.150.0080.03612.38
5.4.140.0070.04012.06
5.4.130.0050.03712.05
5.4.120.0070.03512.02
5.4.110.0100.05012.00
5.4.100.0080.03412.01
5.4.90.0030.04012.01
5.4.80.0050.03912.01
5.4.70.0060.03612.00
5.4.60.0080.03312.00
5.4.50.0040.03812.00
5.4.40.0060.03611.99
5.4.30.0070.03511.99
5.4.20.0070.04211.99
5.4.10.0090.03311.99
5.4.00.0060.03611.48
5.3.290.0070.04012.80
5.3.280.0030.04212.71
5.3.270.0050.04112.73
5.3.260.0060.03912.72
5.3.250.0070.03612.72
5.3.240.0080.03712.72
5.3.230.0100.05112.71
5.3.220.0090.06412.68
5.3.210.0080.05712.68
5.3.200.0070.05712.68
5.3.190.0090.05612.67
5.3.180.0140.04212.67
5.3.170.0090.05312.67
5.3.160.0070.03912.68
5.3.150.0050.03912.67
5.3.140.0060.03712.66
5.3.130.0050.04112.66
5.3.120.0090.04612.66
5.3.110.0090.03612.66
5.3.100.0080.03612.13
5.3.90.0060.03612.11
5.3.80.0070.03712.11
5.3.70.0050.03812.11
5.3.60.0080.03512.09
5.3.50.0090.03912.04
5.3.40.0060.03712.04
5.3.30.0080.03512.00
5.3.20.0060.05211.78
5.3.10.0100.04611.74
5.3.00.0060.03711.73
5.2.170.0050.0349.23
5.2.160.0040.0309.23
5.2.150.0050.0319.23
5.2.140.0060.0359.23
5.2.130.0080.0359.19
5.2.120.0060.0359.19
5.2.110.0050.0329.20
5.2.100.0050.0319.20
5.2.90.0050.0329.20
5.2.80.0070.0329.19
5.2.70.0050.0309.19
5.2.60.0050.0309.14
5.2.50.0050.0319.11
5.2.40.0100.0319.09
5.2.30.0060.0379.07
5.2.20.0040.0369.06
5.2.10.0050.0288.96
5.2.00.0060.0348.82
5.1.60.0060.0308.11
5.1.50.0060.0238.10
5.1.40.0020.0278.09
5.1.30.0040.0288.43
5.1.20.0050.0278.46
5.1.10.0040.0268.18
5.1.00.0030.0278.18
5.0.50.0020.0236.66
5.0.40.0040.0206.53
5.0.30.0050.0306.34
5.0.20.0030.0206.31
5.0.10.0050.0186.29
5.0.00.0020.0336.29
4.4.90.0020.0174.78
4.4.80.0040.0154.76
4.4.70.0020.0174.76
4.4.60.0020.0174.76
4.4.50.0040.0144.77
4.4.40.0040.0254.71
4.4.30.0020.0164.76
4.4.20.0010.0184.84
4.4.10.0040.0154.85
4.4.00.0030.0254.75
4.3.110.0030.0164.67
4.3.100.0040.0144.67
4.3.90.0010.0174.63
4.3.80.0020.0264.59
4.3.70.0010.0174.63
4.3.60.0040.0144.63
4.3.50.0020.0174.63
4.3.40.0050.0234.53
4.3.30.0010.0183.35
4.3.20.0020.0173.33
4.3.10.0010.0173.27
4.3.00.0170.02016.03

preferences:
50.03 ms | 401 KiB | 5 Q