3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new DateTime(); $end = new DateTime(); $end->modify('+5 days'); $period = new DatePeriod($start, new DateInterval('P1D'), $end); foreach ($period as $dt) { echo $dt->format('c') . "\n"; } foreach ($period as $dt) { echo $dt->format('d') . "\n"; }

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.0040.01116.73
8.3.50.0160.01422.11
8.3.40.0120.00318.95
8.3.30.0040.01118.82
8.3.20.0050.00320.18
8.3.10.0040.00421.91
8.3.00.0040.00718.05
8.2.180.0040.01516.75
8.2.170.0030.01722.96
8.2.160.0070.01020.35
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00421.16
8.2.110.0090.00019.39
8.2.100.0090.00318.15
8.2.90.0040.00419.35
8.2.80.0060.00318.00
8.2.70.0030.00617.72
8.2.60.0000.00918.05
8.2.50.0040.00418.07
8.2.40.0040.00418.34
8.2.30.0030.00618.39
8.2.20.0050.00317.93
8.2.10.0040.00418.20
8.2.00.0040.00418.00
8.1.280.0000.01425.92
8.1.270.0100.00623.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.33
8.1.230.0080.00319.13
8.1.220.0090.00017.80
8.1.210.0000.00818.77
8.1.200.0000.01017.48
8.1.190.0090.00017.60
8.1.180.0040.00418.10
8.1.170.0050.00318.84
8.1.160.0040.00421.96
8.1.150.0000.00718.93
8.1.140.0000.00917.82
8.1.130.0030.00318.05
8.1.120.0030.00317.73
8.1.110.0000.00717.56
8.1.100.0070.00017.62
8.1.90.0000.00717.75
8.1.80.0000.00717.61
8.1.70.0030.00317.55
8.1.60.0070.00017.67
8.1.50.0000.00817.63
8.1.40.0040.00417.72
8.1.30.0060.00317.69
8.1.20.0040.00417.68
8.1.10.0000.00717.71
8.1.00.0040.00417.82
8.0.300.0000.00820.26
8.0.290.0040.00417.00
8.0.280.0000.00718.53
8.0.270.0050.00217.39
8.0.260.0000.00717.40
8.0.250.0030.00317.21
8.0.240.0080.00017.21
8.0.230.0000.00717.22
8.0.220.0070.00017.22
8.0.210.0060.00317.03
8.0.200.0000.00817.19
8.0.190.0040.00417.21
8.0.180.0070.00017.10
8.0.170.0040.00417.19
8.0.160.0040.00417.11
8.0.150.0000.00817.05
8.0.140.0040.00417.14
8.0.130.0050.00013.52
8.0.120.0040.00417.03
8.0.110.0030.00517.18
8.0.100.0080.00017.20
8.0.90.0000.00717.21
8.0.80.0060.00917.14
8.0.70.0040.00417.02
8.0.60.0000.00817.20
8.0.50.0000.01016.96
8.0.30.0110.00817.37
8.0.20.0110.00817.40
8.0.10.0050.00217.14
8.0.00.0100.00817.04
7.4.330.0000.00515.09
7.4.320.0060.00016.62
7.4.300.0030.00616.79
7.4.290.0000.00816.70
7.4.280.0040.00416.80
7.4.270.0030.00516.79
7.4.260.0000.00716.80
7.4.250.0040.00416.77
7.4.240.0000.00816.78
7.4.230.0000.00716.54
7.4.220.0100.00616.70
7.4.210.0080.00616.90
7.4.200.0050.00216.51
7.4.160.0090.00616.60
7.4.150.0090.00917.40
7.4.140.0110.00617.86
7.4.130.0080.00916.70
7.4.120.0120.00516.70
7.4.110.0150.00716.69
7.4.100.0140.00416.75
7.4.90.0030.01416.94
7.4.80.0090.01019.39
7.4.70.0140.00716.86
7.4.60.0100.00716.51
7.4.50.0000.00516.70
7.4.40.0080.00916.49
7.4.30.0060.01116.77
7.4.00.0070.00815.13
7.3.330.0030.00313.27
7.3.320.0030.00313.23
7.3.310.0070.00016.36
7.3.300.0000.00716.50
7.3.290.0120.00316.46
7.3.280.0100.00916.46
7.3.270.0060.01217.40
7.3.260.0080.00816.56
7.3.250.0110.00616.65
7.3.240.0150.00516.56
7.3.230.0130.00316.59
7.3.210.0080.00816.44
7.3.200.0130.00619.39
7.3.190.0090.00816.46
7.3.180.0100.00616.72
7.3.170.0130.00316.66
7.3.160.0060.01216.52
7.3.120.0090.00815.01
7.3.110.0130.00015.34
7.3.100.0040.01515.09
7.3.90.0110.00614.90
7.3.80.0040.00815.06
7.3.70.0070.00714.88
7.3.60.0090.00615.08
7.3.50.0080.00414.92
7.3.40.0000.01415.19
7.3.30.0120.00614.84
7.3.20.0110.00016.68
7.3.10.0030.00916.95
7.3.00.0090.00616.71
7.2.330.0030.01316.92
7.2.320.0030.01916.88
7.2.310.0130.00316.68
7.2.300.0100.00716.75
7.2.290.0080.01216.87
7.2.250.0130.00315.23
7.2.240.0070.01415.25
7.2.230.0070.01115.46
7.2.220.0060.01315.61
7.2.210.0060.01215.46
7.2.200.0030.01615.36
7.2.190.0030.01015.43
7.2.180.0070.00715.41
7.2.170.0090.00914.98
7.2.130.0140.00216.77
7.2.120.0150.00316.87
7.2.110.0100.01016.81
7.2.100.0100.00717.14
7.2.90.0140.01017.16
7.2.80.0120.01217.09
7.2.70.0160.00316.66
7.2.60.0110.00417.09
7.2.50.0130.00617.01
7.2.40.0070.01417.07
7.2.30.0130.00316.89
7.2.20.0070.01117.21
7.2.10.0150.00417.12
7.2.00.0070.00718.40
7.1.330.0070.00715.75
7.1.320.0140.00316.11
7.1.310.0000.01415.90
7.1.300.0000.01215.75
7.1.290.0000.01416.00
7.1.280.0150.00316.02
7.1.270.0000.01716.11
7.1.260.0070.00716.11
7.1.250.0090.00615.83
7.1.240.0140.00615.43
7.1.230.0080.00815.66
7.1.220.0100.00716.01
7.1.210.0160.00315.72
7.1.200.0050.00915.73
7.1.190.0110.00715.69
7.1.180.0030.01015.80
7.1.170.0130.00515.54
7.1.160.0140.00316.01
7.1.150.0070.00716.08
7.1.140.0150.00315.91
7.1.130.0140.00315.78
7.1.120.0100.00716.01
7.1.110.0140.00515.97
7.1.100.0050.01016.99
7.1.90.0090.01316.01
7.1.80.0090.01215.98
7.1.70.0110.00516.71
7.1.60.0150.00917.82
7.1.50.0100.01016.61
7.1.40.0130.00615.89
7.1.30.0060.01015.89
7.1.20.0150.00016.12
7.1.10.0120.00315.64
7.1.00.0050.04019.09
7.0.330.0190.00015.21
7.0.320.0030.01015.35
7.0.310.0060.00915.25
7.0.300.0060.01215.56
7.0.290.0100.00715.51
7.0.280.0080.00815.38
7.0.270.0090.00915.30
7.0.260.0120.00615.66
7.0.250.0110.00815.35
7.0.240.0060.01115.63
7.0.230.0100.01315.58
7.0.220.0160.00815.68
7.0.210.0120.00915.30
7.0.200.0230.00515.09
7.0.190.0230.01215.37
7.0.180.0120.00615.54
7.0.170.0120.00315.50
7.0.160.0060.00915.37
7.0.150.0070.00715.32
7.0.140.0040.04218.64
7.0.130.0080.00815.34
7.0.120.0110.00415.53
7.0.110.0170.00415.45
7.0.100.0060.01015.54
7.0.90.0070.01115.29
7.0.80.0060.00915.24
7.0.70.0040.00815.33
7.0.60.0070.04217.74
7.0.50.0130.03216.70
7.0.40.0050.03016.60
7.0.30.0120.02516.67
7.0.20.0110.03616.68
7.0.10.0080.02316.92
7.0.00.0050.02816.81
5.6.380.0090.00914.02
5.6.370.0150.00514.35
5.6.360.0130.00314.36
5.6.350.0080.01214.34
5.6.340.0060.01114.15
5.6.330.0070.01014.09
5.6.320.0060.00914.54
5.6.310.0060.01214.50
5.6.300.0070.01014.19
5.6.290.0050.01013.99
5.6.280.0120.03617.69
5.6.270.0080.01114.68
5.6.260.0100.01014.32
5.6.250.0060.01114.58
5.6.240.0080.01014.61
5.6.230.0110.00614.41
5.6.220.0050.01014.23
5.6.210.0100.02217.40
5.6.200.0080.03016.15
5.6.190.0020.02817.37
5.6.180.0130.02217.50
5.6.170.0130.02817.57
5.6.160.0080.04317.45
5.6.150.0100.04016.08
5.6.140.0100.03816.07
5.6.130.0080.04516.24
5.6.120.0050.04517.80
5.6.110.0040.04917.76
5.6.100.0080.04717.80
5.6.90.0060.04117.67
5.6.80.0110.04017.23
5.6.70.0110.00314.33
5.6.60.0070.01114.43
5.6.50.0050.00914.48
5.6.40.0040.01314.39
5.6.30.0000.01413.87
5.6.20.0090.00414.18
5.6.10.0150.00514.34
5.6.00.0130.01014.31
5.5.380.0000.00711.25
5.5.370.0060.00911.19
5.5.360.0060.00311.27
5.5.350.0170.02315.77
5.5.340.0030.03714.41
5.5.330.0070.02515.59
5.5.320.0140.02415.79
5.5.310.0130.02315.54
5.5.300.0070.02414.41
5.5.290.0050.04314.45
5.5.280.0050.04615.89
5.5.270.0050.02316.00
5.5.260.0100.03516.00
5.5.250.0030.03115.75
5.5.240.0050.04315.72
5.5.230.0050.00510.97
5.5.220.0040.00411.11
5.5.210.0130.00011.02
5.5.200.0050.00511.10
5.5.190.0050.00510.80
5.5.180.0120.00410.97
5.5.170.0070.01011.20
5.5.160.0060.00811.21
5.5.150.0080.00511.16
5.5.140.0090.00710.97
5.5.130.0040.00710.98
5.5.120.0040.00910.82
5.5.110.0070.00511.21
5.5.100.0050.00511.31
5.5.90.0040.00510.95
5.5.80.0100.00711.30
5.5.70.0090.00611.21
5.5.60.0090.00610.94
5.5.50.0040.01111.15
5.5.40.0090.00910.74
5.5.30.0100.00511.04
5.5.20.0080.00811.16
5.5.10.0040.00411.25
5.5.00.0030.00711.18
5.4.450.0300.03515.32
5.4.440.0090.03015.43
5.4.430.0080.03215.42
5.4.420.0050.03215.28
5.4.410.0070.03114.96
5.4.400.0250.03014.91
5.4.390.0120.03214.76
5.4.380.0070.03014.81
5.4.370.0050.02914.90
5.4.360.0100.02814.87
5.4.350.0090.01611.56
5.4.340.0080.02211.56
5.4.330.0030.00711.25
5.4.320.0050.02011.68
5.4.310.0040.02411.63
5.4.300.0050.02111.76
5.4.290.0060.02011.68
5.4.280.0030.02311.76
5.4.270.0060.01911.70
5.4.260.0080.01811.61
5.4.250.0060.02011.71
5.4.240.0040.02311.53
5.4.230.0050.02211.49
5.4.220.0060.02011.77
5.4.210.0040.02311.72
5.4.200.0040.02211.64
5.4.190.0070.02011.53
5.4.180.0040.02011.58
5.4.170.0070.02411.48
5.4.160.0090.02411.47
5.4.150.0050.01911.67
5.4.140.0050.02211.64
5.4.130.0060.01911.40
5.4.120.0070.01911.55
5.4.110.0070.02011.53
5.4.100.0030.02611.55
5.4.90.0040.02111.51
5.4.80.0090.01911.44
5.4.70.0100.02311.50
5.4.60.0070.02511.54
5.4.50.0070.02711.35
5.4.40.0070.02611.54
5.4.30.0060.02711.54
5.4.20.0050.02611.49
5.4.10.0040.02311.41
5.4.00.0060.02711.06
5.3.290.0080.02211.77
5.3.280.0060.02611.61
5.3.270.0110.02111.72
5.3.260.0080.02111.64
5.3.250.0060.02011.72
5.3.240.0040.02311.54
5.3.230.0070.02011.60
5.3.220.0070.02011.50
5.3.210.0020.02211.56
5.3.200.0020.02511.49
5.3.190.0070.02011.60
5.3.180.0040.02411.59
5.3.170.0070.02311.66
5.3.160.0070.01911.67
5.3.150.0040.02211.58
5.3.140.0060.01911.65
5.3.130.0050.02411.65
5.3.120.0030.02811.63
5.3.110.0020.02611.64
5.3.100.0030.02111.41
5.3.90.0070.02211.33
5.3.80.0060.01811.24
5.3.70.0090.01911.28
5.3.60.0090.02311.31
5.3.50.0090.02211.31
5.3.40.0080.02011.29
5.3.30.0060.02111.28
5.3.20.0050.02011.08
5.3.10.0070.01911.01
5.3.00.0070.02011.02
5.2.170.0100.0209.57
5.2.160.0060.0209.57
5.2.150.0070.0149.57
5.2.140.0040.0189.57
5.2.130.0030.0189.55
5.2.120.0040.0169.55
5.2.110.0050.0159.55
5.2.100.0050.0169.55
5.2.90.0040.0189.55
5.2.80.0060.0179.55
5.2.70.0080.0169.55
5.2.60.0060.0159.53
5.2.50.0050.0169.51
5.2.40.0040.0179.50
5.2.30.0050.0159.49
5.2.20.0040.0209.48
5.2.10.0030.0189.44
5.2.00.0050.0169.37
5.1.60.0040.0149.01
5.1.50.0030.0169.01
5.1.40.0030.0139.00
5.1.30.0050.0169.18
5.1.20.0040.0179.18
5.1.10.0050.0149.05
5.1.00.0040.0169.05
5.0.50.0050.0108.29
5.0.40.0030.0128.22
5.0.30.0050.0168.13
5.0.20.0050.0118.12
5.0.10.0040.0118.10
5.0.00.0040.0158.10
4.4.90.0050.0107.37
4.4.80.0020.0157.36
4.4.70.0040.0107.36
4.4.60.0010.0107.36
4.4.50.0010.0107.36
4.4.40.0030.0157.33
4.4.30.0040.0097.36
4.4.20.0010.0147.40
4.4.10.0050.0097.40
4.4.00.0010.0167.36
4.3.110.0020.0107.31
4.3.100.0060.0077.31
4.3.90.0030.0097.29
4.3.80.0010.0157.27
4.3.70.0060.0087.29
4.3.60.0020.0097.29
4.3.50.0030.0097.29
4.3.40.0030.0127.25
4.3.30.0010.0106.62
4.3.20.0040.0096.61
4.3.10.0020.0106.59
4.3.00.0010.0138.57

preferences:
38.62 ms | 401 KiB | 5 Q