3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new DateTime('2008-12-29 00:00'); $end = new DateTime('2009-01-7 00:00'); $point = $start; while($point <= $end){ echo $point->format('YW') . "\t"; echo $point->format('m-d-Y') . "\n"; $point = $point->modify('next week'); }

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.4.20.0060.01317.96
8.4.10.0060.00318.01
8.3.150.0110.00720.76
8.3.140.0060.00318.63
8.3.130.0060.00318.63
8.3.120.0030.00620.71
8.3.110.0040.01220.94
8.3.100.0050.00324.06
8.3.90.0110.00426.77
8.3.80.0070.00418.68
8.3.70.0110.00418.43
8.3.60.0090.00616.50
8.3.50.0160.00422.15
8.3.40.0110.00418.80
8.3.30.0100.00318.84
8.3.20.0050.00220.29
8.3.10.0040.00421.73
8.3.00.0080.00417.50
8.2.270.0120.00617.34
8.2.260.0030.00520.42
8.2.250.0080.00017.05
8.2.240.0160.00317.38
8.2.230.0080.00022.58
8.2.220.0150.00037.54
8.2.210.0000.00826.77
8.2.200.0060.00317.00
8.2.190.0040.01118.41
8.2.180.0130.00325.92
8.2.170.0120.00319.07
8.2.160.0090.00922.96
8.2.150.0080.00425.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00819.54
8.2.110.0160.00020.50
8.2.100.0040.00817.97
8.2.90.0050.00317.88
8.2.80.0060.00619.03
8.2.70.0120.00317.74
8.2.60.0050.00317.93
8.2.50.0040.00418.07
8.2.40.0060.00318.41
8.2.30.0050.00318.24
8.2.20.0000.00817.98
8.2.10.0050.00218.05
8.2.00.0000.00718.19
8.1.310.0000.00816.67
8.1.300.0090.00018.61
8.1.290.0090.00018.88
8.1.280.0140.00725.92
8.1.270.0000.00724.04
8.1.260.0050.00226.35
8.1.250.0050.00328.09
8.1.240.0060.00318.82
8.1.230.0110.00017.83
8.1.220.0040.00417.88
8.1.210.0040.00418.77
8.1.200.0000.00917.48
8.1.190.0080.00417.48
8.1.180.0000.00818.10
8.1.170.0000.00818.87
8.1.160.0040.00418.93
8.1.150.0000.00819.05
8.1.140.0000.00719.69
8.1.130.0040.00417.64
8.1.120.0030.00617.70
8.1.110.0050.00317.59
8.1.100.0050.00317.71
8.1.90.0050.00317.73
8.1.80.0070.00017.67
8.1.70.0110.00017.61
8.1.60.0050.00217.74
8.1.50.0060.00317.72
8.1.40.0000.00817.59
8.1.30.0000.00817.73
8.1.20.0040.00417.88
8.1.10.0040.00417.74
8.1.00.0030.00617.72
8.0.300.0050.00218.77
8.0.290.0030.00616.86
8.0.280.0030.00318.58
8.0.270.0080.00017.38
8.0.260.0070.00017.09
8.0.250.0000.00717.17
8.0.240.0000.00717.16
8.0.230.0030.00517.20
8.0.220.0000.00817.10
8.0.210.0000.00817.11
8.0.200.0030.00317.25
8.0.190.0040.00417.21
8.0.180.0000.00717.16
8.0.170.0040.00417.22
8.0.160.0040.00417.12
8.0.150.0030.00317.05
8.0.140.0000.00717.11
8.0.130.0050.00013.55
8.0.120.0040.00417.13
8.0.110.0040.00417.04
8.0.100.0000.00717.15
8.0.90.0000.00717.03
8.0.80.0100.00717.12
8.0.70.0080.00017.18
8.0.60.0040.00417.21
8.0.50.0040.00417.10
8.0.30.0000.01516.96
8.0.20.0100.01117.46
8.0.10.0040.00317.22
8.0.00.0100.00716.80
7.4.330.0020.00215.21
7.4.320.0060.00016.77
7.4.300.0040.00416.80
7.4.290.0030.00516.79
7.4.280.0040.00416.61
7.4.270.0070.00016.70
7.4.260.0040.00416.82
7.4.250.0000.00716.80
7.4.240.0000.00716.69
7.4.230.0030.00316.82
7.4.220.0130.00316.66
7.4.210.0090.00816.73
7.4.200.0000.00716.69
7.4.160.0060.01216.69
7.4.150.0040.01417.40
7.4.140.0080.01017.86
7.4.130.0070.01416.83
7.4.120.0100.00916.77
7.4.110.0110.00816.70
7.4.100.0120.00916.82
7.4.90.0090.00916.66
7.4.80.0080.01219.39
7.4.70.0100.00716.60
7.4.60.0100.00716.63
7.4.50.0040.00716.66
7.4.40.0080.00816.74
7.4.30.0100.00616.64
7.4.00.0030.01314.90
7.3.330.0030.00313.41
7.3.320.0000.00613.27
7.3.310.0030.00316.56
7.3.300.0030.00316.54
7.3.290.0040.00416.48
7.3.280.0070.01116.50
7.3.270.0140.00317.40
7.3.260.0120.00916.77
7.3.250.0070.01016.56
7.3.240.0110.00616.62
7.3.230.0090.00916.61
7.3.210.0120.00416.61
7.3.200.0130.00316.63
7.3.190.0070.01016.66
7.3.180.0060.00916.91
7.3.170.0110.01116.75
7.3.160.0040.01216.79
7.3.120.0060.01214.92
7.3.110.0070.00715.08
7.3.100.0040.01114.93
7.3.90.0100.00715.08
7.3.80.0070.00315.02
7.3.70.0060.01215.05
7.3.60.0110.00414.94
7.3.50.0030.01315.03
7.3.40.0140.00014.74
7.3.30.0030.00614.81
7.3.20.0040.00816.89
7.3.10.0060.00916.82
7.3.00.0100.00317.06
7.2.330.0120.00816.72
7.2.320.0170.00416.71
7.2.310.0070.01016.69
7.2.300.0110.01116.63
7.2.290.0070.01116.78
7.2.240.0100.00615.06
7.2.230.0060.01015.22
7.2.220.0110.00315.44
7.2.210.0080.00815.08
7.2.200.0030.00715.28
7.2.190.0040.01515.18
7.2.180.0060.01015.21
7.2.170.0000.01515.28
7.2.160.0030.01215.14
7.2.150.0040.01216.91
7.2.140.0110.00717.18
7.2.130.0030.00617.03
7.2.120.0090.00617.14
7.2.110.0060.01217.05
7.2.100.0000.01116.96
7.2.90.0080.00817.06
7.2.80.0090.00616.95
7.2.70.0070.00417.22
7.2.60.0060.00717.09
7.2.50.0090.00316.94
7.2.40.0100.00616.86
7.2.30.0060.00617.03
7.2.20.0120.00017.09
7.2.10.0140.00416.74
7.2.00.0100.00618.36
7.1.330.0110.00415.95
7.1.320.0070.00716.07
7.1.310.0040.01415.99
7.1.300.0030.01215.93
7.1.290.0030.00615.90
7.1.280.0090.00415.81
7.1.270.0030.01415.91
7.1.260.0030.01015.61
7.1.250.0100.00316.13
7.1.200.0100.00316.13
7.1.70.0000.00817.40
7.1.60.0100.00719.79
7.1.00.0000.07722.45
7.0.200.0360.01014.58
7.0.80.0700.06319.96
7.0.70.1070.06320.17
7.0.60.0370.07320.02
7.0.50.0370.05020.41
7.0.40.0330.08020.36
7.0.30.0300.08020.43
7.0.20.0970.06720.34
7.0.10.0530.06020.32
7.0.00.0330.08320.44
5.6.230.0130.08320.69
5.6.220.0170.05720.76
5.6.210.0130.07720.58
5.6.200.0070.06721.18
5.6.190.0200.05321.14
5.6.180.0100.06721.07
5.6.170.0170.05321.09
5.6.160.0270.07321.09
5.6.150.0100.08321.20
5.6.140.0200.05321.07
5.6.130.0130.06721.09
5.6.120.0100.08721.07
5.6.110.0200.07721.07
5.6.100.0130.06021.11
5.6.90.0270.05321.09
5.6.80.0170.05720.45
5.6.70.0230.05020.40
5.6.60.0200.05020.49
5.6.50.0130.06320.56
5.6.40.0170.05020.38
5.6.30.0170.05020.45
5.6.20.0230.04320.41
5.6.10.0170.05320.45
5.6.00.0130.05020.43
5.5.370.0100.06720.37
5.5.360.0200.07320.60
5.5.350.0130.06020.49
5.5.340.0200.05320.79
5.5.330.0200.05020.77
5.5.320.0300.07320.95
5.5.310.0200.06320.85
5.5.300.0230.06020.89
5.5.290.0230.07320.88
5.5.280.0100.06720.88
5.5.270.0170.08020.92
5.5.260.0100.06720.70
5.5.250.0170.05720.75
5.5.240.0200.05720.32
5.5.230.0170.05320.25
5.5.220.0170.05320.20
5.5.210.0100.05720.26
5.5.200.0170.05720.21
5.5.190.0230.04720.24
5.5.180.0100.05720.30
5.5.160.0200.05020.20
5.5.150.0130.05020.23
5.5.140.0170.05020.24
5.5.130.0070.06320.30
5.5.120.0100.06020.23
5.5.110.0170.05320.28
5.5.100.0100.06020.18
5.5.90.0030.06020.17
5.5.80.0230.05320.13
5.5.70.0100.07320.09
5.5.60.0130.06720.08
5.5.50.0200.06720.12
5.5.40.0030.06020.14
5.5.30.0030.06020.07
5.5.20.0100.05720.05
5.5.10.0230.04720.14
5.5.00.0130.05319.97

preferences:
63.68 ms | 403 KiB | 5 Q