3v4l.org

run code in 300+ PHP versions simultaneously
<?php $accountNumber = "28947754"; $confirmationNumber = "1352524556"; $sess = array("stuff"=>""); 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.60.0180.00416.75
8.3.50.0120.00422.12
8.3.40.0070.01118.71
8.3.30.0140.00419.25
8.3.20.0030.01020.33
8.3.10.0060.00323.50
8.3.00.0080.00020.89
8.2.180.0120.00916.75
8.2.170.0070.00722.96
8.2.160.0070.00720.35
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00220.73
8.2.110.0060.00322.11
8.2.100.0000.01217.97
8.2.90.0040.00419.14
8.2.80.0050.00317.97
8.2.70.0080.00017.59
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0040.00419.89
8.2.30.0080.00020.09
8.2.20.0040.00417.72
8.2.10.0040.00418.07
8.2.00.0080.00417.83
8.1.280.0060.00825.92
8.1.270.0030.00623.65
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00023.97
8.1.230.0070.00319.00
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0050.00317.13
8.1.180.0000.00818.10
8.1.170.0000.00818.45
8.1.160.0040.00422.01
8.1.150.0030.00618.68
8.1.140.0040.00417.49
8.1.130.0000.00717.86
8.1.120.0040.00417.33
8.1.110.0000.00717.50
8.1.100.0070.00017.46
8.1.90.0050.00217.55
8.1.80.0000.00717.57
8.1.70.0000.00717.43
8.1.60.0080.00317.60
8.1.50.0030.00617.39
8.1.40.0040.00417.57
8.1.30.0060.00317.60
8.1.20.0080.00017.67
8.1.10.0040.00417.58
8.1.00.0030.00617.55
8.0.300.0040.00418.77
8.0.290.0040.00417.18
8.0.280.0000.00718.47
8.0.270.0030.00317.29
8.0.260.0000.00717.20
8.0.250.0000.00817.05
8.0.240.0030.00317.05
8.0.230.0040.00416.98
8.0.220.0000.00716.96
8.0.210.0000.00817.03
8.0.200.0000.00717.02
8.0.190.0040.00416.95
8.0.180.0040.00716.94
8.0.170.0040.00416.95
8.0.160.0020.00516.98
8.0.150.0040.00416.92
8.0.140.0030.00316.89
8.0.130.0050.00313.44
8.0.120.0040.00416.95
8.0.110.0050.00216.84
8.0.100.0000.00817.02
8.0.90.0000.00816.82
8.0.80.0030.01316.96
8.0.70.0040.00417.06
8.0.60.0020.00516.96
8.0.50.0050.00316.84
8.0.30.0120.00717.12
8.0.20.0130.00817.43
8.0.10.0000.00717.07
8.0.00.0080.00916.96
7.4.330.0060.00015.00
7.4.320.0040.00416.63
7.4.300.0030.00316.69
7.4.290.0030.00316.64
7.4.280.0050.00316.53
7.4.270.0000.00716.66
7.4.260.0080.00016.51
7.4.250.0000.00716.57
7.4.240.0060.00216.58
7.4.230.0030.00316.74
7.4.220.0140.00416.66
7.4.210.0020.01216.60
7.4.200.0000.00716.38
7.4.190.0000.00716.44
7.4.160.0000.01516.66
7.4.150.0070.01017.40
7.4.140.0130.00817.86
7.4.130.0060.01216.49
7.4.120.0100.00816.52
7.4.110.0130.00316.48
7.4.100.0140.00316.52
7.4.90.0090.00916.59
7.4.80.0100.01019.39
7.4.70.0100.01016.63
7.4.60.0100.01016.53
7.4.50.0060.00316.59
7.4.40.0090.00816.45
7.4.30.0030.01316.46
7.4.00.0030.01014.95
7.3.330.0060.00013.20
7.3.320.0060.00013.10
7.3.310.0070.00016.18
7.3.300.0030.00316.27
7.3.290.0050.00816.33
7.3.280.0110.00916.33
7.3.270.0150.00917.40
7.3.260.0080.00816.53
7.3.250.0110.00816.59
7.3.240.0070.01016.31
7.3.230.0070.01016.50
7.3.210.0090.00916.38
7.3.200.0060.01319.39
7.3.190.0000.01716.50
7.3.180.0130.00916.36
7.3.170.0070.01016.36
7.3.160.0040.01216.24
7.3.120.0070.00714.95
7.3.10.0040.01516.36
7.3.00.0000.01316.40
7.2.330.0030.01416.46
7.2.320.0070.01016.31
7.2.310.0100.01316.69
7.2.300.0110.00816.65
7.2.290.0110.00716.41
7.2.130.0030.00816.69
7.2.120.0100.00016.70
7.2.110.0030.00716.52
7.2.100.0100.00316.66
7.2.90.0090.00316.80
7.2.80.0000.01416.85
7.2.70.0040.00416.84
7.2.60.0050.00916.77
7.2.50.0000.01416.30
7.2.40.0060.00916.43
7.2.30.0050.00516.74
7.2.20.0060.00916.72
7.2.10.0130.00316.49
7.2.00.0030.01017.83
7.1.250.0080.00415.42
7.1.200.0110.00415.55
7.1.100.0060.00617.95
7.1.70.0090.00316.73
7.1.60.0100.01419.46
7.1.50.0100.01016.82
7.1.00.0000.08022.33
7.0.200.0000.01016.94
7.0.140.0070.07022.15
7.0.60.0030.04019.93
7.0.50.0070.07717.85
7.0.40.0070.04020.25
7.0.30.0300.07720.09
7.0.20.0300.04020.02
7.0.10.0300.05320.20
7.0.00.0070.09020.17
5.6.210.0100.08320.75
5.6.200.0030.04718.21
5.6.190.0100.04020.61
5.6.180.3800.03720.24
5.6.170.0370.07320.48
5.6.160.0030.05020.70
5.6.150.0070.08018.21
5.6.140.0130.07718.11
5.6.130.0200.04018.21
5.6.120.0070.04721.04
5.6.110.0130.08321.14
5.6.100.0100.07021.01
5.6.90.0130.07320.97
5.6.80.0100.07720.41
5.6.70.0130.04320.37
5.5.350.0130.09020.37
5.5.340.0100.05318.02
5.5.330.0070.09020.40
5.5.320.0070.08020.21
5.5.310.0400.07320.18
5.5.300.0000.04318.01
5.5.290.0130.07317.96
5.5.280.0130.07720.78
5.5.270.0030.08720.68
5.5.260.0130.07020.80
5.5.250.0030.06020.62
5.5.240.0030.04020.24
5.4.450.1800.04019.12
5.4.440.1830.03319.57
5.4.430.2000.04719.52
5.4.420.2170.04019.39
5.4.410.2030.04319.41
5.4.400.2130.04318.77
5.4.390.2100.04018.93
5.4.380.2030.04719.09
5.4.370.1930.04719.19
5.4.360.1800.03718.91
5.4.350.2070.04019.25
5.4.340.1770.04019.21
5.4.320.2170.04719.13
5.4.310.2200.03318.88
5.4.300.2070.04019.28
5.4.290.1900.03719.13
5.4.280.2100.04719.07
5.4.270.2070.05019.21
5.4.260.1830.03719.21
5.4.250.2030.02719.21
5.4.240.2130.04719.21
5.4.230.2000.03719.25
5.4.220.2230.03718.92
5.4.210.1830.03719.03
5.4.200.1830.03719.09
5.4.190.1830.03719.16
5.4.180.2170.04319.07
5.4.170.1870.03318.92
5.4.160.2000.03019.19
5.4.150.1830.03719.05
5.4.140.1800.04016.50
5.4.130.1830.03716.46
5.4.120.1970.05016.26
5.4.110.1900.03316.47
5.4.100.1970.04016.38
5.4.90.2300.03316.49
5.4.80.2000.04716.05
5.4.70.2070.03716.25
5.4.60.1930.03316.36
5.4.50.2030.04016.04
5.4.40.1870.04016.36
5.4.30.1870.03016.31
5.4.20.2000.05016.42
5.4.10.1970.04316.30
5.4.00.1830.03015.69
5.3.290.1970.03714.58
5.3.280.2100.04014.59
5.3.270.1870.04014.60
5.3.260.2000.04014.55
5.3.250.2130.04014.46
5.3.240.1900.03714.47
5.3.230.2100.03314.49
5.3.220.2070.03014.44
5.3.210.1900.03714.46
5.3.200.2070.03714.53
5.3.190.1570.03714.52
5.3.180.2070.04314.43
5.3.170.2070.03714.52
5.3.160.2000.04314.53
5.3.150.1800.03714.67
5.3.140.1870.03714.47
5.3.130.1700.04314.41
5.3.120.2030.04314.51
5.3.110.2000.04714.40
5.3.100.2000.03714.06
5.3.90.1830.03013.93
5.3.80.1800.03313.97
5.3.70.2030.04314.05
5.3.60.1900.03014.06
5.3.50.1900.03713.91
5.3.40.1800.03714.01
5.3.30.1730.04313.94
5.3.20.2030.04013.50
5.3.10.1830.03013.57
5.3.00.2100.03713.61
5.2.170.1870.02711.10
5.2.160.1530.03011.21
5.2.150.1730.03011.21
5.2.140.1600.02711.07
5.2.130.1570.03010.96
5.2.120.1830.03011.20
5.2.110.1900.02710.96
5.2.100.1770.03310.95
5.2.90.1730.03010.98
5.2.80.1870.03710.96
5.2.70.1830.03711.12
5.2.60.1770.04010.91
5.2.50.1700.03010.97
5.2.40.1370.02311.05
5.2.30.1270.03010.84
5.2.20.1270.02311.13
5.2.10.1270.02710.89
5.2.00.1400.03310.66
5.1.60.1230.02310.20
5.1.50.1330.0309.91
5.1.40.1330.02010.04
5.1.30.1200.03010.32
5.1.20.1200.02710.29
5.1.10.1230.02710.18
5.1.00.1400.0339.98
5.0.50.0800.0278.63
5.0.40.0670.0278.45
5.0.30.0730.0478.42
5.0.20.0700.0238.16
5.0.10.0600.0208.32
5.0.00.0630.0338.18
4.4.90.0630.0177.83
4.4.80.0830.0237.83
4.4.70.0700.0237.83
4.4.60.0730.0207.83
4.4.50.0570.0177.83
4.4.40.0600.0277.83
4.4.30.0670.0137.83
4.4.20.0870.0207.83
4.4.10.0800.0277.83
4.4.00.0700.0277.83
4.3.110.0600.0237.83
4.3.100.0770.0237.83
4.3.90.0800.0277.83
4.3.80.0630.0277.83
4.3.70.0630.0107.83
4.3.60.0770.0277.83
4.3.50.0630.0107.83
4.3.40.0630.0237.83
4.3.30.0400.0207.83
4.3.20.0270.0177.83
4.3.10.0330.0207.83
4.3.00.0330.0237.83

preferences:
42.19 ms | 401 KiB | 5 Q