3v4l.org

run code in 300+ PHP versions simultaneously
<?php $accountNumber = "";//"28947754"; $confirmationNumber = "1352524556"; $sess = array("stuff"=>"","EL_xml_Error"=>"Invalid credit card number or credit card type. Please try again. If the difficulty continues, please go to http://support.earthlink.net and contact us by email or live chat. You may also call 1-800-719-4660 for assistance."); if(($accountNumber !== "" && $accountNumber !== "N/A") && ($confirmationNumber !== "" && $confirmationNumber !== "N/A")) { $displayString = "<h1 style=\"text-decoration: underline;\">Order Successfully Placed</h1>"; $displayString .= "<div id=\"orderConfirmed\" name=\"orderConfirmed\">"; $displayString .= "<p>Your order has been placed successfully. Please find your account number and confirmation number below.<br />Keep these numbers for your reference should you need further assistance with your order."; $displayString .= "<ul class=\"confirmationInfo\">"; $displayString .= "<li>Account Number: <strong>{$accountNumber}</strong></li>"; $displayString .= "<li>Confirmation Number: <strong>{$confirmationNumber}</strong></li>"; $displayString .= "</ul>"; $displayString .= "<p>If you need further information concerning this order, please call 1-888-327-8454.</p>"; $displayString .= "</div>"; echo $displayString; } else if(array_key_exists("EL_xml_Error",$sess) && isset($sess["EL_xml_Error"])) { if(($accountNumber !== "" && $accountNumber !== "N/A") && ($confirmationNumber !== "" && $confirmationNumber !== "N/A")) { $displayString = "<h1 style=\"text-decoration: underline;\">Order Successfully Placed</h1>"; $displayString .= "<div id=\"orderConfirmed\" name=\"orderConfirmed\">"; $displayString .= "<p>Your order has been placed successfully. Please find your account number and confirmation number below.<br />Keep these numbers for your reference should you need further assistance with your order."; $displayString .= "<ul class=\"confirmationInfo\">"; $displayString .= "<li>Account Number: <strong>{$accountNumber}</strong></li>"; $displayString .= "<li>Confirmation Number: <strong>{$confirmationNumber}</strong></li>"; $displayString .= "</ul>"; $displayString .= "<p>If you need further information concerning this order, please call 1-888-327-8454.</p>"; $displayString .= "</div>"; echo $displayString; } else { $displayString = "<h1 style=\"text-decoration: underline;\">Order Failed</h1>"; $displayString .= "<div style=\"color: red;\" id=\"orderConfirmed\" name=\"orderConfirmed\">"; $displayString .= "<strong>EarthLink returned the following error: {$sess["EL_xml_Error"]}</strong>"; $displayString .= "</div>"; echo $displayString; } }

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.0120.00618.72
8.3.30.0070.00719.03
8.3.20.0040.00420.10
8.3.10.0060.00323.61
8.3.00.0040.00420.98
8.2.170.0110.00422.96
8.2.160.0110.00420.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.18
8.2.110.0040.00422.25
8.2.100.0060.00617.91
8.2.90.0030.00519.41
8.2.80.0050.00318.05
8.2.70.0060.00317.75
8.2.60.0040.00418.16
8.2.50.0030.00518.07
8.2.40.0000.00820.07
8.2.30.0040.00418.25
8.2.20.0050.00317.84
8.2.10.0000.00818.16
8.2.00.0040.00417.63
8.1.270.0040.00423.96
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0000.00923.96
8.1.230.0070.00419.16
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0040.00417.35
8.1.180.0000.01018.10
8.1.170.0060.00318.56
8.1.160.0070.00021.97
8.1.150.0070.00018.63
8.1.140.0040.00417.47
8.1.130.0030.00517.75
8.1.120.0050.00217.46
8.1.110.0000.00717.51
8.1.100.0070.00017.50
8.1.90.0040.00417.48
8.1.80.0040.00417.44
8.1.70.0070.00017.41
8.1.60.0030.00517.57
8.1.50.0000.00817.46
8.1.40.0000.00717.45
8.1.30.0030.00617.63
8.1.20.0040.00417.61
8.1.10.0000.00817.61
8.1.00.0070.00017.51
8.0.300.0070.00018.77
8.0.290.0040.00417.16
8.0.280.0000.00718.46
8.0.270.0080.00017.20
8.0.260.0000.00717.20
8.0.250.0040.00417.01
8.0.240.0040.00417.03
8.0.230.0060.00016.83
8.0.220.0000.00816.97
8.0.210.0050.00216.91
8.0.200.0000.00617.02
8.0.190.0020.00516.88
8.0.180.0040.00417.00
8.0.170.0040.00416.83
8.0.160.0000.00716.95
8.0.150.0000.00716.88
8.0.140.0030.00516.91
8.0.130.0030.00313.34
8.0.120.0000.00816.80
8.0.110.0050.00216.84
8.0.100.0050.00316.99
8.0.90.0030.00516.95
8.0.80.0120.00316.96
8.0.70.0040.00416.79
8.0.60.0080.00016.94
8.0.50.0040.00416.90
8.0.30.0100.00917.00
8.0.20.0060.01217.40
8.0.10.0040.00416.98
8.0.00.0110.01116.88
7.4.330.0000.00715.00
7.4.320.0060.00016.63
7.4.300.0000.00616.54
7.4.290.0020.00516.52
7.4.280.0000.00816.44
7.4.270.0000.00716.61
7.4.260.0000.00716.52
7.4.250.0070.00016.59
7.4.240.0020.00516.59
7.4.230.0000.00816.45
7.4.220.0160.01016.43
7.4.210.0040.01016.59
7.4.200.0000.00716.33
7.4.190.0000.00816.72
7.4.160.0200.00016.43
7.4.150.0110.00717.40
7.4.140.0050.01517.86
7.4.130.0110.00516.63
7.4.120.0130.00316.44
7.4.110.0070.01016.34
7.4.100.0130.00416.36
7.4.90.0140.00616.47
7.4.80.0060.01219.39
7.4.70.0090.00916.63
7.4.60.0070.01116.45
7.4.50.0030.00516.49
7.4.40.0100.00716.50
7.4.30.0120.00916.42
7.4.00.0100.00715.04
7.3.330.0030.00313.20
7.3.320.0000.00512.98
7.3.310.0000.00716.25
7.3.300.0030.00316.31
7.3.290.0140.00616.42
7.3.280.0110.00816.34
7.3.270.0130.00317.40
7.3.260.0100.01416.36
7.3.250.0090.01216.62
7.3.240.0140.00716.46
7.3.230.0030.01416.52
7.3.210.0130.00616.43
7.3.200.0060.01019.39
7.3.190.0190.00316.73
7.3.180.0120.00316.38
7.3.170.0100.00716.70
7.3.160.0060.01016.18
7.3.120.0110.00414.76
7.2.330.0110.00616.77
7.2.320.0080.00816.41
7.2.310.0200.00316.48
7.2.300.0080.01116.47
7.2.290.0070.01016.68
7.2.00.0040.00819.33
7.1.100.0000.01117.91
7.1.70.0000.00917.12
7.1.60.0070.01019.46
7.1.50.0130.01016.90
7.1.00.0070.07022.46
7.0.200.0000.00816.84
7.0.140.0000.07722.01
7.0.60.0030.05320.06
7.0.50.0030.07717.93
7.0.40.0100.07720.27
7.0.30.0270.08020.14
7.0.20.0230.05720.30
7.0.10.0030.08720.18
7.0.00.0070.09020.08
5.6.280.0000.07320.93
5.6.210.0200.06720.71
5.6.200.0030.08318.23
5.6.190.0070.08320.39
5.6.180.0000.05320.43
5.6.170.0230.05320.45
5.6.160.0130.07020.46
5.6.150.0170.06018.12
5.6.140.0070.08018.15
5.6.130.0070.04018.10
5.6.120.0070.05721.00
5.6.110.0030.04321.02
5.6.100.0000.09020.98
5.6.90.0100.07021.00
5.6.80.0170.05720.40
5.5.350.0070.07020.47
5.5.340.0070.05017.95
5.5.330.0070.05020.40
5.5.320.0300.04020.20
5.5.310.0300.08020.29
5.5.300.0100.03718.01
5.5.290.0070.06717.95
5.5.280.0070.07320.99
5.5.270.0130.06320.77
5.5.260.0100.05720.80
5.5.250.0170.07020.62
5.5.240.0100.07020.29
5.4.450.0670.06019.32
5.4.440.0770.06319.64
5.4.430.0930.08719.64
5.4.420.1030.05719.53
5.4.410.0900.06319.45
5.4.400.0970.05018.84
5.4.390.1000.04719.05
5.4.380.0270.04018.50
5.4.370.0330.03718.73
5.4.360.0100.05318.66
5.4.350.0070.06018.47
5.4.340.0100.05318.70
5.4.320.0050.03612.47
5.4.310.0060.04012.46
5.4.300.0050.03612.46
5.4.290.0060.05812.46
5.4.280.0060.05612.36
5.4.270.0100.05112.36
5.4.260.0070.05712.36
5.4.250.0110.05312.36
5.4.240.0070.05512.36
5.4.230.0100.05412.35
5.4.220.0100.05212.36
5.4.210.0070.05712.36
5.4.200.0100.05812.35
5.4.190.0090.04712.35
5.4.180.0100.04512.35
5.4.170.0030.05312.36
5.4.160.0070.04512.36
5.4.150.0050.04812.35
5.4.140.0120.04712.04
5.4.130.0070.04712.02
5.4.120.0120.04611.98
5.4.110.0050.05211.98
5.4.100.0100.04311.98
5.4.90.0100.04611.98
5.4.80.0070.04811.98
5.4.70.0080.04811.98
5.4.60.0080.04511.98
5.4.50.0050.04111.97
5.4.40.0060.03711.96
5.4.30.0070.03811.96
5.4.20.0050.03911.96
5.4.10.0060.03911.96
5.4.00.0100.04811.45
5.3.290.0050.03912.80
5.3.280.0160.04512.71
5.3.270.0140.04812.73
5.3.260.0060.05412.72
5.3.250.0080.05212.72
5.3.240.0060.04512.72
5.3.230.0040.05012.71
5.3.220.0100.04612.68
5.3.210.0070.04112.68
5.3.200.0120.03712.68
5.3.190.0110.03712.68
5.3.180.0090.04212.67
5.3.170.0140.03912.66
5.3.160.0050.04012.67
5.3.150.0080.03712.67
5.3.140.0100.03712.66
5.3.130.0070.04012.66
5.3.120.0060.04312.66
5.3.110.0120.04512.66
5.3.100.0040.04412.12
5.3.90.0060.04012.08
5.3.80.0070.03912.07
5.3.70.0080.03812.07
5.3.60.0060.04212.07
5.3.50.0090.04312.00
5.3.40.0060.04712.00
5.3.30.0110.05411.96
5.3.20.0080.04611.74
5.3.10.0120.04511.71
5.3.00.0080.04711.69
5.2.170.0090.0389.20
5.2.160.0060.0399.20
5.2.150.0060.0419.20
5.2.140.0070.0419.20
5.2.130.0060.0399.15
5.2.120.0070.0399.16
5.2.110.0080.0369.16
5.2.100.0070.0379.15
5.2.90.0040.0439.16
5.2.80.0080.0389.15
5.2.70.0060.0399.15
5.2.60.0090.0349.11
5.2.50.0090.0349.08
5.2.40.0060.0359.05
5.2.30.0070.0329.02
5.2.20.0080.0279.02
5.2.10.0050.0358.95
5.2.00.0030.0398.80
5.1.60.0020.0318.09
5.1.50.0070.0298.08
5.1.40.0040.0328.07
5.1.30.0070.0308.42
5.1.20.0060.0348.44
5.1.10.0040.0358.16
5.1.00.0100.0318.16
5.0.50.0030.0296.64
5.0.40.0030.0286.50
5.0.30.0050.0406.32
5.0.20.0090.0226.29
5.0.10.0010.0316.27
5.0.00.0040.0446.25
4.4.90.0020.0264.78
4.4.80.0060.0224.76
4.4.70.0070.0204.75
4.4.60.0070.0204.76
4.4.50.0090.0204.77
4.4.40.0060.0354.71
4.4.30.0080.0184.76
4.4.20.0040.0204.84
4.4.10.0030.0234.85
4.4.00.0040.0324.76
4.3.110.0030.0234.67
4.3.100.0050.0204.66
4.3.90.0030.0214.63
4.3.80.0090.0274.58
4.3.70.0040.0204.63
4.3.60.0030.0214.63
4.3.50.0070.0194.63
4.3.40.0040.0324.54
4.3.30.0060.0193.31
4.3.20.0030.0213.29
4.3.10.0020.0223.23
4.3.00.0030.0207.02

preferences:
48.88 ms | 400 KiB | 5 Q