3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head><title>HBD for You</title></head> <body> <p>Enter Your Birthday</p> <form action = "dataEntry.php" method = "post"> <table cellspacing = "5"> <tr><td valign = "middle" colspan =2>Day <!--dropdown for day--> <select name = day> <option selected = "selected" value=""> Select</option> <?php for($day = 1;$day<=31; ++$day){ print "\t<option value=\"$day\">$day</option>\n"; } ?> </select> </td></tr> <tr><td valign = "middle" colspan =2>Month <!--dropdown for Month--> <select name = Month> <option selected = "selected" value=""> Select</option> <?php $array = array("Januray","February","March","April","May","June","July","August","September","October","November","December"); foreach($array as $Month){ print "\t<option value=\"$Month\">$Month</option>\n"; } ?> </select> </td></tr> <tr><td valign = "middle" colspan =2>Year <!--dropdown for Year--> <select name = year> <option selected = "selected" value=""> Select</option> <?php for($year = 1990;$year<=2015; ++$year){ print "\t<option value=\"$year\">$year</option>\n"; } ?> </select> </td></tr> </table> </form></body></html>

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.0100.01018.43
8.3.50.0080.01121.92
8.3.40.0120.00318.57
8.3.30.0070.00719.00
8.3.20.0000.00820.30
8.3.10.0050.00320.34
8.3.00.0040.00419.56
8.2.180.0120.00316.38
8.2.170.0120.00622.96
8.2.160.0070.00720.39
8.2.150.0030.00624.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0040.00419.23
8.2.110.0060.00322.07
8.2.100.0110.00017.91
8.2.90.0040.00419.11
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0050.00318.04
8.2.50.0030.00618.07
8.2.40.0000.00918.34
8.2.30.0000.00719.32
8.2.20.0000.00717.57
8.2.10.0100.00018.14
8.2.00.0000.00817.68
8.1.280.0110.01125.92
8.1.270.0030.00623.91
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0030.00624.00
8.1.230.0080.00319.10
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0040.00417.22
8.1.190.0000.00817.23
8.1.180.0030.00518.10
8.1.170.0040.00418.64
8.1.160.0040.00422.08
8.1.150.0000.00818.80
8.1.140.0000.00717.43
8.1.130.0030.00317.80
8.1.120.0000.00717.55
8.1.110.0030.00517.45
8.1.100.0050.00217.35
8.1.90.0040.00317.50
8.1.80.0070.00017.38
8.1.70.0000.00717.41
8.1.60.0080.00017.58
8.1.50.0050.00317.50
8.1.40.0040.00417.55
8.1.30.0030.00517.57
8.1.20.0040.00417.63
8.1.10.0030.00517.37
8.1.00.0050.00217.40
8.0.300.0000.00719.27
8.0.290.0070.00016.75
8.0.280.0040.00418.40
8.0.270.0000.00717.30
8.0.260.0070.00017.27
8.0.250.0030.00316.88
8.0.240.0000.00616.82
8.0.230.0040.00416.86
8.0.220.0000.00716.94
8.0.210.0040.00416.82
8.0.200.0050.00316.85
8.0.190.0000.00816.84
8.0.180.0040.00416.93
8.0.170.0080.00016.86
8.0.160.0050.00316.89
8.0.150.0000.00816.83
8.0.140.0040.00416.93
8.0.130.0030.00313.37
8.0.120.0030.00616.89
8.0.110.0040.00416.95
8.0.100.0030.00317.02
8.0.90.0030.00516.78
8.0.80.0060.01216.87
8.0.70.0040.00416.93
8.0.60.0030.00516.81
8.0.50.0040.00416.99
8.0.30.0120.00717.01
8.0.20.0160.00517.42
8.0.10.0000.00716.92
8.0.00.0120.00716.93
7.4.330.0000.00515.00
7.4.320.0030.00316.52
7.4.300.0040.00416.61
7.4.290.0000.00816.57
7.4.280.0040.00416.45
7.4.270.0070.00016.41
7.4.260.0040.00416.43
7.4.250.0000.00716.57
7.4.240.0060.00216.60
7.4.230.0070.00016.63
7.4.220.0100.01016.62
7.4.210.0030.01016.59
7.4.200.0070.00016.70
7.4.160.0080.00816.38
7.4.150.0050.01617.40
7.4.140.0080.01017.86
7.4.130.0110.00616.49
7.4.120.0090.00816.54
7.4.110.0120.00616.54
7.4.100.0140.01016.59
7.4.90.0160.00016.47
7.4.80.0140.00616.55
7.4.70.0110.00516.47
7.4.60.0150.00616.52
7.4.50.0050.00316.44
7.4.40.0100.00716.53
7.4.30.0060.01016.70
7.4.00.0060.01115.03
7.3.330.0060.00013.32
7.3.320.0000.00613.28
7.3.310.0040.00416.32
7.3.300.0000.00716.32
7.3.290.0030.01016.34
7.3.280.0100.00716.37
7.3.270.0070.01117.40
7.3.260.0070.01116.55
7.3.250.0140.00316.54
7.3.240.0150.00316.63
7.3.230.0090.00616.55
7.3.210.0030.01416.51
7.3.200.0090.01219.39
7.3.190.0070.01016.46
7.3.180.0100.00516.24
7.3.170.0110.00616.42
7.3.160.0130.00316.63
7.2.330.0090.01516.59
7.2.320.0080.01216.31
7.2.310.0060.01216.68
7.2.300.0150.00816.79
7.2.290.0150.00316.68
7.2.00.0090.00019.00
7.1.100.0050.00318.23
7.1.70.0030.00517.18
7.1.60.0040.02119.32
7.1.50.0270.01034.82
7.1.00.0070.07322.50
7.0.200.0030.00516.64
7.0.140.0000.07722.08
7.0.60.0130.06719.84
7.0.50.0030.04717.88
7.0.40.0070.04720.30
7.0.30.0270.04020.22
7.0.20.0230.08020.13
7.0.10.0130.08720.18
7.0.00.0100.07720.09
5.6.280.0000.07720.93
5.6.210.0000.05020.72
5.6.200.0030.05018.15
5.6.190.0100.04320.33
5.6.180.0370.04320.59
5.6.170.0300.05720.51
5.6.160.0000.04320.48
5.6.150.0130.07318.12
5.6.140.0100.06318.11
5.6.130.0070.04018.17
5.6.120.0130.03720.88
5.6.110.0130.05021.14
5.6.100.0130.03321.13
5.6.90.0200.07020.88
5.6.80.0030.09020.39
5.5.350.0130.08320.43
5.5.340.0100.08017.97
5.5.330.0000.04720.21
5.5.320.0300.05020.27
5.5.310.0300.06020.23
5.5.300.0100.07018.01
5.5.290.0030.04717.96
5.5.280.0000.06320.77
5.5.270.0230.05320.86
5.5.260.0100.07020.82
5.5.250.0100.08320.66
5.5.240.0130.08320.05
5.4.450.0070.05719.27
5.4.440.1000.06319.32
5.4.430.1070.04319.46
5.4.420.1670.05019.46
5.4.410.0770.05319.50
5.4.400.1100.04019.18
5.4.390.0830.05319.14
5.4.380.0730.06318.59
5.4.370.0300.06018.74
5.4.360.0500.07018.50
5.4.350.0330.05318.47
5.4.340.0230.06018.46
5.4.320.0090.03512.46
5.4.310.0060.03912.45
5.4.300.0050.03812.46
5.4.290.0100.04512.45
5.4.280.0060.04412.35
5.4.270.0070.04712.36
5.4.260.0080.03812.36
5.4.250.0080.03712.36
5.4.240.0100.04312.36
5.4.230.0060.04312.35
5.4.220.0050.03712.35
5.4.210.0050.03512.35
5.4.200.0050.03812.34
5.4.190.0060.03612.34
5.4.180.0110.03612.34
5.4.170.0060.03612.36
5.4.160.0060.03512.35
5.4.150.0020.03912.34
5.4.140.0060.04212.03
5.4.130.0090.03912.02
5.4.120.0050.04211.98
5.4.110.0060.04111.97
5.4.100.0070.03811.97
5.4.90.0090.03611.96
5.4.80.0070.04411.97
5.4.70.0080.03911.97
5.4.60.0100.04411.97
5.4.50.0070.04711.96
5.4.40.0040.04111.96
5.4.30.0050.03711.96
5.4.20.0090.03411.96
5.4.10.0050.03711.95
5.4.00.0080.03711.44
5.3.290.0050.04212.80
5.3.280.0070.03812.70
5.3.270.0070.03812.72
5.3.260.0090.03912.72
5.3.250.0100.04612.72
5.3.240.0090.03912.71
5.3.230.0090.04212.71
5.3.220.0070.04112.68
5.3.210.0100.05212.68
5.3.200.0080.05312.68
5.3.190.0050.04012.68
5.3.180.0060.03612.67
5.3.170.0060.04712.67
5.3.160.0050.03712.68
5.3.150.0060.04512.67
5.3.140.0070.03812.66
5.3.130.0080.03812.66
5.3.120.0090.03812.66
5.3.110.0060.04112.66
5.3.100.0050.04212.12
5.3.90.0060.03612.08
5.3.80.0060.03512.07
5.3.70.0070.03612.07
5.3.60.0080.03412.07
5.3.50.0040.03812.00
5.3.40.0080.03412.00
5.3.30.0070.03411.95
5.3.20.0100.03211.73
5.3.10.0050.03611.69
5.3.00.0080.03511.68
5.2.170.0040.0339.20
5.2.160.0090.0269.20
5.2.150.0050.0319.20
5.2.140.0070.0309.19
5.2.130.0080.0269.15
5.2.120.0050.0289.15
5.2.110.0050.0299.16
5.2.100.0060.0289.15
5.2.90.0040.0309.15
5.2.80.0020.0339.14
5.2.70.0050.0309.14
5.2.60.0050.0299.11
5.2.50.0060.0299.07
5.2.40.0090.0279.05
5.2.30.0070.0299.02
5.2.20.0060.0289.02
5.2.10.0040.0288.95
5.2.00.0060.0288.81
5.1.60.0060.0248.10
5.1.50.0010.0288.10
5.1.40.0070.0228.07
5.1.30.0050.0258.43
5.1.20.0050.0268.45
5.1.10.0050.0328.17
5.1.00.0030.0388.18
5.0.50.0060.0246.65
5.0.40.0070.0206.50
5.0.30.0040.0336.33
5.0.20.0040.0196.29
5.0.10.0020.0226.27
5.0.00.0050.0316.25
4.4.90.0050.0144.78
4.4.80.0060.0144.76
4.4.70.0030.0164.75
4.4.60.0030.0214.76
4.4.50.0040.0154.77
4.4.40.0050.0234.71
4.4.30.0030.0154.76
4.4.20.0040.0144.84
4.4.10.0030.0164.84
4.4.00.0050.0234.76
4.3.110.0030.0154.67
4.3.100.0020.0164.66
4.3.90.0030.0164.63
4.3.80.0030.0254.58
4.3.70.0020.0164.63
4.3.60.0050.0124.63
4.3.50.0050.0144.63
4.3.40.0030.0244.53
4.3.30.0010.0173.31
4.3.20.0030.0163.29
4.3.10.0040.0213.25
4.3.00.0070.0176.78

preferences:
39.6 ms | 401 KiB | 5 Q