3v4l.org

run code in 300+ PHP versions simultaneously
<?php $gendate = new DateTime(); $gendate->setISODate(2016, 21, 7); //year , week num , day echo $gendate->format('D, d.m.Y 18:00');

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.130.0070.00416.91
8.3.120.0030.00620.48
8.3.110.0120.00416.65
8.3.100.0030.00716.53
8.3.90.0000.00826.77
8.3.80.0030.00616.50
8.3.70.0150.00618.30
8.3.60.0160.00318.43
8.3.50.0090.00822.05
8.3.40.0140.00318.79
8.3.30.0150.00318.84
8.3.20.0080.00019.34
8.3.10.0040.00423.39
8.3.00.0050.00320.95
8.2.250.0090.00016.52
8.2.240.0090.00619.08
8.2.230.0080.00020.94
8.2.220.0100.00724.06
8.2.210.0040.00426.77
8.2.200.0040.00416.88
8.2.190.0070.00716.88
8.2.180.0110.00418.54
8.2.170.0070.00722.96
8.2.160.0100.01020.40
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00520.46
8.2.120.0090.00026.35
8.2.110.0040.00419.10
8.2.100.0090.00319.78
8.2.90.0030.00519.05
8.2.80.0050.00317.97
8.2.70.0030.00517.88
8.2.60.0030.00519.66
8.2.50.0040.00418.10
8.2.40.0080.00021.98
8.2.30.0070.00019.30
8.2.20.0050.00217.86
8.2.10.0040.00417.97
8.2.00.0050.00218.18
8.1.300.0090.00016.64
8.1.290.0090.00018.88
8.1.280.0150.00025.92
8.1.270.0040.00423.95
8.1.260.0070.00028.09
8.1.250.0070.00028.09
8.1.240.0030.00722.14
8.1.230.0110.00019.54
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00817.48
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0060.00318.52
8.1.160.0000.00719.02
8.1.150.0040.00418.95
8.1.140.0040.00419.68
8.1.130.0000.00817.69
8.1.120.0030.00417.46
8.1.110.0000.00717.54
8.1.100.0000.00717.50
8.1.90.0070.00017.59
8.1.80.0030.00317.54
8.1.70.0030.00317.60
8.1.60.0040.00417.66
8.1.50.0050.00317.62
8.1.40.0040.00417.52
8.1.30.0030.00617.59
8.1.20.0000.00817.70
8.1.10.0030.00517.64
8.1.00.0040.00417.70
8.0.300.0000.00818.77
8.0.290.0000.00717.00
8.0.280.0040.00418.49
8.0.270.0000.00717.30
8.0.260.0030.00317.32
8.0.250.0070.00017.04
8.0.240.0000.00617.04
8.0.230.0040.00416.95
8.0.220.0030.00316.93
8.0.210.0080.00016.92
8.0.200.0000.00616.91
8.0.190.0050.00317.12
8.0.180.0000.00717.00
8.0.170.0070.00016.95
8.0.160.0040.00316.97
8.0.150.0030.00316.95
8.0.140.0000.00716.88
8.0.130.0000.00713.38
8.0.120.0000.00816.97
8.0.110.0070.00016.85
8.0.100.0000.00716.88
8.0.90.0070.00016.84
8.0.80.0060.00917.05
8.0.70.0050.00216.81
8.0.60.0080.00017.06
8.0.50.0040.00416.95
8.0.30.0100.00817.14
8.0.20.0100.01017.40
8.0.10.0070.00017.15
8.0.00.0080.00817.00
7.4.330.0040.00015.08
7.4.320.0040.00416.56
7.4.300.0000.00916.62
7.4.290.0000.00716.64
7.4.280.0040.00416.54
7.4.270.0000.00616.60
7.4.260.0040.00416.55
7.4.250.0040.00416.64
7.4.240.0030.00316.57
7.4.230.0000.00616.56
7.4.220.0100.00916.52
7.4.210.0130.00616.61
7.4.200.0070.00016.42
7.4.160.0060.00916.52
7.4.150.0100.00717.40
7.4.140.0120.00817.86
7.4.130.0050.01216.69
7.4.120.0080.00916.61
7.4.110.0170.00016.48
7.4.100.0080.00816.43
7.4.90.0100.00616.58
7.4.80.0100.00719.39
7.4.70.0030.01316.65
7.4.60.0070.01016.53
7.4.50.0120.00316.43
7.4.40.0060.01016.52
7.4.30.0100.00716.75
7.4.10.0070.01115.01
7.4.00.0080.00815.00
7.3.330.0020.00213.11
7.3.320.0000.00613.24
7.3.310.0000.00716.31
7.3.300.0030.00316.25
7.3.290.0080.00716.27
7.3.280.0080.00916.25
7.3.270.0100.01017.40
7.3.260.0270.00816.47
7.3.250.0090.00816.41
7.3.240.0100.01016.44
7.3.230.0150.00416.49
7.3.210.0130.00316.23
7.3.200.0140.00416.45
7.3.190.0060.01716.48
7.3.180.0100.00716.48
7.3.170.0090.01216.50
7.3.160.0060.01316.45
7.3.130.0110.00614.57
7.3.120.0100.00514.71
7.3.110.0050.00915.02
7.3.100.0070.00814.76
7.3.90.0080.00414.94
7.3.80.0110.00114.92
7.3.70.0080.00314.66
7.3.60.0030.01014.71
7.3.50.0090.00314.76
7.3.40.0060.00414.75
7.3.30.0050.01014.80
7.3.20.0070.00916.68
7.3.10.0070.00816.59
7.3.00.0070.00716.67
7.2.330.0040.01416.78
7.2.320.0150.00916.80
7.2.310.0110.00816.69
7.2.300.0100.00716.89
7.2.290.0030.01816.80
7.2.260.0060.00915.25
7.2.250.0090.00814.93
7.2.240.0030.01114.96
7.2.230.0050.00615.14
7.2.220.0070.00915.08
7.2.210.0070.00715.03
7.2.200.0080.00615.17
7.2.190.0060.00415.22
7.2.180.0030.00915.06
7.2.170.0060.00615.07
7.2.160.0030.01014.80
7.2.150.0120.00317.11
7.2.140.0100.01017.02
7.2.130.0040.00816.55
7.2.120.0030.00716.92
7.2.110.0030.01216.79
7.2.100.0080.00816.94
7.2.90.0030.00916.84
7.2.80.0000.00916.79
7.2.70.0040.01116.87
7.2.60.0050.00516.83
7.2.50.0090.00316.68
7.2.40.0060.00616.87
7.2.30.0030.00617.01
7.2.20.0000.01117.10
7.2.10.0060.00617.02
7.2.00.0070.00718.11
7.1.330.0100.00615.88
7.1.320.0030.01115.63
7.1.310.0030.00815.69
7.1.300.0100.00315.61
7.1.290.0050.00815.66
7.1.280.0030.00915.77
7.1.270.0050.00515.62
7.1.260.0070.00615.76
7.1.250.0100.00315.66
7.1.240.0030.01215.60
7.1.230.0080.00415.59
7.1.220.0090.00015.73
7.1.210.0030.01015.84
7.1.200.0030.01115.67
7.1.190.0060.00615.88
7.1.180.0030.01015.34
7.1.170.0060.00615.62
7.1.160.0060.00915.76
7.1.150.0120.00315.56
7.1.140.0070.00715.84
7.1.130.0070.00715.63
7.1.120.0070.00715.87
7.1.110.0030.00615.63
7.1.100.0030.00916.82
7.1.90.0030.01415.83
7.1.80.0060.00315.62
7.1.70.0020.01016.36
7.1.60.0080.01117.69
7.1.50.0030.01015.80
7.1.40.0060.01015.71
7.1.30.0080.00615.48
7.1.20.0040.01115.91
7.1.10.0140.00015.41
7.1.00.0050.04118.98
7.0.330.0100.00315.36
7.0.320.0080.00315.38
7.0.310.0040.01115.42
7.0.300.0000.01215.40
7.0.290.0090.00015.19
7.0.280.0070.00315.46
7.0.270.0080.00415.40
7.0.260.0030.00615.43
7.0.250.0030.00915.57
7.0.240.0030.00915.56
7.0.230.0000.00815.48
7.0.220.0100.00315.32
7.0.210.0060.00915.49
7.0.200.0020.00916.01
7.0.190.0030.01015.55
7.0.180.0060.00315.29
7.0.170.0000.01415.27
7.0.160.0100.00615.37
7.0.150.0080.00615.36
7.0.140.0040.00415.30
7.0.130.0040.00415.57
7.0.120.0070.00715.43
7.0.110.0060.00615.36
7.0.100.0000.00815.31
7.0.90.0040.00815.50
7.0.80.0030.01015.40
7.0.70.0680.04217.68
7.0.60.0680.03117.68
7.0.50.0680.03917.81
7.0.40.0610.03516.96
7.0.30.0800.03816.93
7.0.20.0870.03417.00
7.0.10.0840.03517.00
7.0.00.0700.03216.97
5.6.400.0040.00814.60
5.6.390.0100.00714.36
5.6.380.0050.00514.34
5.6.370.0070.00714.34
5.6.360.0030.01014.66
5.6.350.0000.01414.31
5.6.340.0030.00614.44
5.6.330.0030.00714.57
5.6.320.0030.01314.08
5.6.310.0140.00414.09
5.6.300.0000.00914.13
5.6.290.0040.00714.55
5.6.280.0050.03917.65
5.6.270.0000.01514.47
5.6.260.0060.00614.59
5.6.250.0000.01414.57
5.6.240.0070.00714.33
5.6.230.0090.00414.27
5.6.220.0580.03417.53
5.6.210.0570.03517.63
5.6.200.0550.03317.79
5.6.190.0520.03717.66
5.6.180.0550.03717.64
5.6.170.0710.02817.74
5.6.160.0650.03517.64
5.6.150.0520.03617.54
5.6.140.0550.03417.68
5.6.130.0560.03817.71
5.6.120.0120.03717.73
5.6.110.0350.03217.65
5.6.100.0750.03317.65
5.6.90.0640.02917.77
5.6.80.0730.03217.38
5.6.70.0620.03717.59
5.6.60.0670.03117.39
5.6.50.0570.03817.31
5.6.40.0720.02817.38
5.6.30.0690.02317.46
5.6.20.0600.03517.33
5.6.10.0700.02717.22
5.6.00.0670.03217.36
5.5.380.0030.01014.51
5.5.370.0000.01314.15
5.5.360.0730.04217.44
5.5.350.0650.04017.35
5.5.340.0640.03117.55
5.5.330.0650.03217.59
5.5.320.0650.03617.64
5.5.310.0680.03017.51
5.5.300.0580.04117.58
5.5.290.0610.03017.56
5.5.280.0130.02817.72
5.5.270.0720.03117.53
5.5.260.0700.04117.50
5.5.250.0680.02717.45
5.5.240.0800.03517.32
5.5.230.0700.03617.37
5.5.220.0690.03017.18
5.5.210.0770.03617.15
5.5.200.0700.02717.25
5.5.190.0580.03417.25
5.5.180.0600.03517.26
5.5.170.0070.01114.29
5.5.160.0700.02417.14
5.5.150.0710.02317.24
5.5.140.0690.03617.17
5.5.130.0630.03317.22
5.5.120.0720.03017.22
5.5.110.0670.03117.08
5.5.100.0550.03617.17
5.5.90.0600.02617.13
5.5.80.0730.02617.13
5.5.70.0770.03517.26
5.5.60.0600.03217.06
5.5.50.0810.03617.09
5.5.40.0850.03717.03
5.5.30.0630.03117.21
5.5.20.0690.02717.05
5.5.10.0670.03317.19
5.5.00.0580.04017.22

preferences:
66.1 ms | 403 KiB | 5 Q