3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new DateTimeImmutable('2012-01-01'); $end = new DateTimeImmutable('2014-12-31'); while($start <= $end) { $nextdate = $start->modify('+1 month'); $prevdate = $start->modify('-1 month'); echo $prevdate->format('Y-m-d').'<br>'; echo $nextdate->format('Y-m-d').'<br>'; $start = $start->modify('+1 month'); }

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.0160.00618.79
8.3.30.0090.00619.02
8.3.20.0040.00420.29
8.3.10.0040.00423.69
8.3.00.0040.00420.82
8.2.170.0120.00322.96
8.2.160.0110.00420.35
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0180.00026.16
8.2.120.0060.00321.03
8.2.110.0000.00922.39
8.2.100.0000.01219.76
8.2.90.0040.00419.34
8.2.80.0040.00417.97
8.2.70.0060.00317.88
8.2.60.0040.00817.80
8.2.50.0040.00418.07
8.2.40.0000.00820.13
8.2.30.0030.00618.45
8.2.20.0040.00417.83
8.2.10.0040.00418.21
8.2.00.0080.00017.86
8.1.270.0000.00922.13
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0000.01024.03
8.1.230.0040.00819.03
8.1.220.0050.00317.80
8.1.210.0080.00018.77
8.1.200.0100.00017.47
8.1.190.0050.00317.48
8.1.180.0040.00418.10
8.1.170.0000.00918.66
8.1.160.0000.00722.13
8.1.150.0020.00518.97
8.1.140.0000.00817.64
8.1.130.0040.00417.98
8.1.120.0000.00817.64
8.1.110.0000.00917.72
8.1.100.0020.00517.61
8.1.90.0040.00417.74
8.1.80.0030.00617.77
8.1.70.0040.00417.60
8.1.60.0040.00417.75
8.1.50.0080.00017.70
8.1.40.0040.00417.72
8.1.30.0090.00017.81
8.1.20.0000.00817.85
8.1.10.0030.00517.74
8.1.00.0030.00617.66
8.0.300.0070.00018.77
8.0.290.0000.00917.17
8.0.280.0070.00018.59
8.0.270.0030.00317.46
8.0.260.0030.00317.34
8.0.250.0070.00017.29
8.0.240.0030.00617.23
8.0.230.0000.00717.10
8.0.220.0030.00317.09
8.0.210.0030.00417.13
8.0.200.0030.00317.21
8.0.190.0060.00317.22
8.0.180.0040.00417.15
8.0.170.0000.00817.21
8.0.160.0050.00317.11
8.0.150.0000.00817.01
8.0.140.0000.00817.12
8.0.130.0030.00613.52
8.0.120.0000.00817.13
8.0.110.0000.00717.13
8.0.100.0040.00417.19
8.0.90.0030.00516.94
8.0.80.0040.01117.07
8.0.70.0000.00817.12
8.0.60.0080.00017.20
8.0.50.0040.00416.96
8.0.30.0110.01017.26
8.0.20.0150.00717.40
8.0.10.0080.00017.08
8.0.00.0100.01217.09
7.4.330.0000.00515.09
7.4.320.0030.00616.82
7.4.300.0030.00316.70
7.4.290.0070.00416.56
7.4.280.0030.00616.71
7.4.270.0040.00416.79
7.4.260.0040.00416.63
7.4.250.0000.01016.61
7.4.240.0040.00516.77
7.4.230.0040.00416.83
7.4.220.0110.00716.84
7.4.210.0030.01416.87
7.4.200.0050.00316.80
7.4.160.0080.00816.68
7.4.150.0160.01017.40
7.4.140.0080.01417.86
7.4.130.0090.00916.78
7.4.120.0080.01016.68
7.4.110.0100.01116.74
7.4.100.0160.00616.78
7.4.90.0100.01016.75
7.4.80.0180.00419.39
7.4.70.0080.00916.71
7.4.60.0090.00916.75
7.4.50.0030.00616.76
7.4.40.0030.01416.74
7.4.30.0100.00716.54
7.4.10.0030.01415.33
7.4.00.0090.00715.24
7.3.330.0030.00513.26
7.3.320.0000.00613.21
7.3.310.0000.00716.40
7.3.300.0040.00416.45
7.3.290.0060.00916.44
7.3.280.0040.01316.43
7.3.270.0090.00917.40
7.3.260.0060.01016.56
7.3.250.0070.01216.65
7.3.240.0080.01116.56
7.3.230.0140.00916.71
7.3.210.0060.01216.73
7.3.200.0080.01219.39
7.3.190.0140.00416.47
7.3.180.0070.01116.61
7.3.170.0080.00816.69
7.3.160.0060.01216.55
7.3.130.0040.01514.82
7.3.120.0090.00815.04
7.3.110.0030.01714.89
7.3.100.0120.00314.98
7.3.90.0000.01615.05
7.3.80.0100.00715.11
7.3.70.0030.01015.12
7.3.60.0070.00714.98
7.3.50.0070.01114.93
7.3.40.0030.00914.93
7.3.30.0080.00815.01
7.3.20.0070.01116.73
7.3.10.0080.00716.80
7.3.00.0100.00916.79
7.2.330.0110.01416.73
7.2.320.0120.01216.76
7.2.310.0130.00616.68
7.2.300.0240.01916.91
7.2.290.0120.00616.60
7.2.260.0030.01714.98
7.2.250.0030.01015.10
7.2.240.0060.01015.29
7.2.230.0040.00815.22
7.2.220.0130.01015.14
7.2.210.0060.00615.46
7.2.200.0070.00715.31
7.2.190.0030.01115.09
7.2.180.0040.00815.15
7.2.170.0030.01015.32
7.2.160.0040.01115.21
7.2.150.0000.01717.05
7.2.140.0000.01617.02
7.2.130.0050.00817.04
7.2.120.0060.00817.00
7.2.110.0150.00717.01
7.2.100.0110.00616.89
7.2.90.0110.00717.01
7.2.80.0050.01217.06
7.2.70.0120.00316.93
7.2.60.0100.00816.91
7.2.50.0070.01217.01
7.2.40.0090.00717.18
7.2.30.0070.00716.94
7.2.20.0060.01017.03
7.2.10.0030.01417.08
7.2.00.0050.01117.79
7.1.330.0060.00916.06
7.1.320.0000.01015.86
7.1.310.0040.01115.84
7.1.300.0000.01215.71
7.1.290.0060.00316.03
7.1.280.0030.00915.64
7.1.270.0070.01016.01
7.1.260.0100.00715.77
7.1.250.0150.00215.94
7.1.240.0110.00716.09
7.1.230.0090.00615.96
7.1.220.0060.00916.10
7.1.210.0060.00316.14
7.1.200.0030.00715.95
7.1.190.0060.00916.07
7.1.180.0060.01315.67
7.1.170.0050.00516.06
7.1.160.0100.00316.11
7.1.150.0100.00715.96
7.1.140.0070.00416.09
7.1.130.0030.01415.87
7.1.120.0030.01015.94
7.1.110.0000.01615.79
7.1.100.0070.00717.18
7.1.90.0030.00915.78
7.1.80.0070.00715.92
7.1.70.0020.01016.73
7.1.60.0030.00917.81
7.1.50.0080.01316.48
7.1.40.0070.00716.02
7.1.30.0040.00415.85
7.1.20.0060.00615.89
7.1.10.0040.01216.14
7.1.00.0070.04019.06
7.0.330.0060.00315.42
7.0.320.0040.01215.33
7.0.310.0060.00615.54
7.0.300.0100.00615.34
7.0.290.0040.01115.56
7.0.280.0000.01515.54
7.0.270.0060.00915.56
7.0.260.0040.01115.61
7.0.250.0060.00615.54
7.0.240.0060.00615.59
7.0.230.0000.01615.77
7.0.220.0100.00715.61
7.0.210.0100.00615.67
7.0.200.0080.00515.35
7.0.190.0040.01115.72
7.0.180.0060.00615.38
7.0.170.0110.00615.71
7.0.160.0080.00315.63
7.0.150.0000.00915.73
7.0.140.0060.03818.73
7.0.130.0100.00715.71
7.0.120.0070.01015.50
7.0.110.0040.01415.54
7.0.100.0030.01015.52
7.0.90.0030.01015.44
7.0.80.0070.00715.42
7.0.70.0070.00715.58
7.0.60.0030.04517.80
7.0.50.0030.02516.73
7.0.40.0060.02416.86
7.0.30.0200.03216.94
7.0.20.0200.02816.82
7.0.10.0040.03116.89
7.0.00.0070.02816.87
5.6.400.0070.00414.68
5.6.390.0000.01514.44
5.6.380.0070.00714.52
5.6.370.0000.01414.71
5.6.360.0130.00014.86
5.6.350.0030.00614.52
5.6.340.0060.00914.63
5.6.330.0130.00314.69
5.6.320.0000.00914.41
5.6.310.0060.00614.46
5.6.300.0110.00414.46
5.6.290.0040.00714.09
5.6.280.0080.03817.74
5.6.270.0100.01014.78
5.6.260.0040.01114.52
5.6.250.0120.00314.32
5.6.240.0090.00614.44
5.6.230.0070.00714.64
5.6.220.0030.00914.29
5.6.210.0070.04717.65
5.6.200.0060.02316.21
5.6.190.0050.04717.61
5.6.180.2020.02317.59
5.6.170.0200.03417.41
5.6.160.0060.03817.42
5.6.150.0100.02516.31
5.6.140.0030.02316.25
5.6.130.0100.03716.26
5.6.120.0080.04317.74
5.6.110.0030.04817.92
5.6.100.0050.04717.75
5.6.90.0120.04217.82
5.6.80.0030.04417.37
5.6.70.2100.02517.34
5.6.60.0070.01014.30
5.6.50.0030.00814.36
5.6.40.0080.00414.72
5.6.30.0000.01014.60
5.6.20.0070.00714.51
5.6.10.0060.00314.30
5.6.00.0110.00314.58
5.5.380.0070.00714.68
5.5.370.0040.01114.32
5.5.360.0070.01014.45
5.5.350.0080.04117.43
5.5.340.0120.02516.12
5.5.330.0090.03417.22
5.5.320.1520.02817.44
5.5.310.0120.04317.38
5.5.300.0070.04216.07
5.5.290.0020.02416.31
5.5.280.0120.04017.55
5.5.270.0030.03017.52
5.5.260.0100.04317.61
5.5.250.0080.03817.63
5.5.240.0110.04817.38
5.5.230.0060.01214.07
5.5.220.0110.00414.50
5.5.210.0060.00614.45
5.5.200.0030.00614.23
5.5.190.0060.00614.48
5.5.180.0120.00014.21
5.5.170.0040.01114.61
5.5.160.0060.00314.20
5.5.150.0100.00314.28
5.5.140.0000.01114.50
5.5.130.0080.00414.13
5.5.120.0060.00614.44
5.5.110.0110.00314.56
5.5.100.0040.00914.13
5.5.90.0100.00014.50
5.5.80.0070.00714.37
5.5.70.0070.00714.30
5.5.60.0030.01014.56
5.5.50.0030.00714.14
5.5.40.0040.00714.56
5.5.30.0070.00414.17
5.5.20.0090.00314.46
5.5.10.0070.00714.31
5.5.00.0060.00614.29
5.4.450.0200.02119.53
5.4.440.0300.02319.49
5.4.430.0200.02219.53
5.4.420.0180.03019.59
5.4.410.0300.02319.59
5.4.400.0130.02019.47
5.4.390.0260.02319.37
5.4.380.0090.03014.69
5.4.370.0080.03014.66
5.4.360.0110.02514.54
5.4.350.0090.02814.60
5.4.340.0080.02614.59
5.4.330.0000.00610.67
5.4.320.0050.02811.61
5.4.310.0070.02111.64
5.4.300.0060.02211.61
5.4.290.0080.02011.53
5.4.280.0040.02211.51
5.4.270.0050.02311.60
5.4.260.0080.02011.47
5.4.250.0040.02611.53
5.4.240.0090.01811.42
5.4.230.0070.02211.49
5.4.220.0050.02311.45
5.4.210.0050.02211.42
5.4.200.0080.02211.50
5.4.190.0060.02211.49
5.4.180.0070.03211.52
5.4.170.0100.02511.52
5.4.160.0070.02011.45
5.4.150.0070.02011.39
5.4.140.0030.02511.24
5.4.130.0120.01711.38
5.4.120.0060.01911.33
5.4.110.0090.02311.27
5.4.100.0060.02811.38
5.4.90.0090.01911.39
5.4.80.0080.02211.31
5.4.70.0070.02311.22
5.4.60.0040.02111.37
5.4.50.0030.02211.32
5.4.40.0020.02211.21
5.4.30.0040.02111.21
5.4.20.0050.02111.37
5.4.10.0050.02011.31
5.4.00.0050.01911.12
5.3.290.0040.02511.59
5.3.280.0050.02111.44
5.3.270.0040.02211.48
5.3.260.0060.02311.50
5.3.250.0050.02111.51
5.3.240.0050.02711.42
5.3.230.0090.01811.38
5.3.220.0030.02311.41
5.3.210.0060.02211.39
5.3.200.0060.02611.39
5.3.190.0030.02411.37
5.3.180.0040.02111.40
5.3.170.0060.01911.48
5.3.160.0020.02511.49
5.3.150.0080.02011.40
5.3.140.0050.02111.45
5.3.130.0060.02811.47
5.3.120.0040.02811.32
5.3.110.0040.02611.38
5.3.100.0060.02811.20
5.3.90.0070.02111.21
5.3.80.0040.02411.11
5.3.70.0040.02111.00
5.3.60.0030.02311.12
5.3.50.0040.02211.08
5.3.40.0040.02210.99
5.3.30.0040.02110.92
5.3.20.0060.01910.93
5.3.10.0040.02010.83
5.3.00.0050.02010.81
5.2.170.0050.0319.18
5.2.160.0020.0349.18
5.2.150.0040.0359.18
5.2.140.0100.0289.17
5.2.130.0070.0289.14
5.2.120.0070.0279.14
5.2.110.0020.0329.14
5.2.100.0070.0269.14
5.2.90.0040.0309.14
5.2.80.0070.0299.14
5.2.70.0060.0299.14
5.2.60.0060.0299.09
5.2.50.0070.0299.06
5.2.40.0070.0279.04
5.2.30.0050.0319.01
5.2.20.0030.0309.00
5.2.10.0050.0278.92
5.2.00.0060.0278.79
5.1.60.0030.0268.07
5.1.50.0020.0268.06
5.1.40.0020.0268.05
5.1.30.0050.0268.39
5.1.20.0050.0278.41
5.1.10.0020.0278.14
5.1.00.0040.0258.14
5.0.50.0030.0206.62
5.0.40.0040.0186.48
5.0.30.0000.0346.30
5.0.20.0030.0196.27
5.0.10.0030.0206.24
5.0.00.0040.0296.24
4.4.90.0010.0174.78
4.4.80.0060.0114.75
4.4.70.0030.0224.75
4.4.60.0020.0174.75
4.4.50.0030.0154.77
4.4.40.0030.0244.71
4.4.30.0020.0154.76
4.4.20.0050.0134.84
4.4.10.0000.0194.85
4.4.00.0060.0214.76
4.3.110.0040.0144.67
4.3.100.0010.0174.67
4.3.90.0020.0154.63
4.3.80.0050.0254.59
4.3.70.0020.0154.63
4.3.60.0030.0144.63
4.3.50.0010.0174.63
4.3.40.0020.0244.54
4.3.30.0010.0163.28
4.3.20.0030.0143.26
4.3.10.0030.0173.22
4.3.00.0070.01327.56

preferences:
53.75 ms | 400 KiB | 5 Q