3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "Monday, 1st week of 2016:\n"; $year = 2016; $week = sprintf('%02d', 1); $dof = 1; echo date( "l, M jS, Y", strtotime($year."W".$week.$dof) ); echo "\n\n"; echo "Thursday, 7th week of 2016:\n"; $year = 2016; $week = sprintf('%02d', 7); $dof = 4; echo date( "l, M jS, Y", strtotime($year."W".$week.$dof) );

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.0120.00618.68
8.3.50.0100.01022.10
8.3.40.0120.00318.76
8.3.30.0160.00018.97
8.3.20.0050.00320.34
8.3.10.0080.00020.53
8.3.00.0080.00020.55
8.2.180.0120.00316.38
8.2.170.0070.00722.96
8.2.160.0000.01419.40
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0080.00021.02
8.2.110.0100.00022.20
8.2.100.0120.00018.03
8.2.90.0000.00817.97
8.2.80.0000.00818.03
8.2.70.0000.00817.75
8.2.60.0090.00017.93
8.2.50.0090.00018.09
8.2.40.0000.00720.55
8.2.30.0020.00521.29
8.2.20.0030.00617.78
8.2.10.0060.00318.20
8.2.00.0060.00318.32
8.1.280.0120.00625.92
8.1.270.0050.00323.78
8.1.260.0000.00826.35
8.1.250.0080.00428.09
8.1.240.0030.00623.91
8.1.230.0040.00720.94
8.1.220.0000.00817.77
8.1.210.0120.00018.95
8.1.200.0000.00917.63
8.1.190.0080.00017.48
8.1.180.0000.00718.10
8.1.170.0050.00318.78
8.1.160.0000.00720.98
8.1.150.0030.00318.96
8.1.140.0050.00219.70
8.1.130.0000.00817.73
8.1.120.0070.00017.57
8.1.110.0030.00417.73
8.1.100.0040.00417.68
8.1.90.0040.00417.63
8.1.80.0040.00417.58
8.1.70.0000.00717.60
8.1.60.0000.00717.68
8.1.50.0040.00417.66
8.1.40.0030.00617.53
8.1.30.0030.00617.80
8.1.20.0000.00817.77
8.1.10.0000.00917.63
8.1.00.0040.00417.66
8.0.300.0050.00319.89
8.0.290.0040.00417.00
8.0.280.0070.00018.55
8.0.270.0030.00317.43
8.0.260.0080.00017.25
8.0.250.0050.00517.19
8.0.240.0030.00317.13
8.0.230.0030.00317.08
8.0.220.0040.00417.11
8.0.210.0060.00317.02
8.0.200.0000.01017.18
8.0.190.0040.00417.18
8.0.180.0060.00317.04
8.0.170.0000.00817.15
8.0.160.0000.00817.25
8.0.150.0000.00716.97
8.0.140.0030.00317.04
8.0.130.0050.00013.43
8.0.120.0040.00417.10
8.0.110.0050.00317.05
8.0.100.0050.00316.92
8.0.90.0000.00817.05
8.0.80.0040.01117.07
8.0.70.0040.00417.02
8.0.60.0000.00716.99
8.0.50.0040.00416.97
8.0.30.0160.00517.33
8.0.20.0140.00517.42
8.0.10.0040.00416.96
8.0.00.0150.00716.88
7.4.330.0050.00015.09
7.4.320.0000.00616.77
7.4.300.0030.00316.66
7.4.290.0000.00716.66
7.4.280.0000.00816.71
7.4.270.0030.00316.74
7.4.260.0030.00316.68
7.4.250.0020.00516.78
7.4.240.0080.00016.68
7.4.230.0030.00316.59
7.4.220.0120.00616.72
7.4.210.0120.00516.73
7.4.200.0000.00716.80
7.4.160.0060.01016.78
7.4.150.0060.01217.40
7.4.140.0120.00617.86
7.4.130.0110.00816.68
7.4.120.0130.00716.67
7.4.110.0140.00316.58
7.4.100.0140.00416.61
7.4.90.0050.01416.71
7.4.80.0110.01119.39
7.4.70.0030.01316.76
7.4.60.0130.00716.64
7.4.50.0120.00616.51
7.4.40.0100.00716.60
7.4.30.0110.00616.74
7.4.00.0080.00415.09
7.3.330.0080.00013.09
7.3.320.0030.00213.18
7.3.310.0030.00316.43
7.3.300.0030.00316.35
7.3.290.0000.00716.20
7.3.280.0100.01016.36
7.3.270.0130.00317.40
7.3.260.0150.00516.54
7.3.250.0120.00616.56
7.3.240.0110.00816.59
7.3.230.0060.01116.39
7.3.210.0140.00316.46
7.3.200.0090.00619.39
7.3.190.0140.00216.66
7.3.180.0060.01316.49
7.3.170.0040.01216.28
7.3.160.0000.01516.74
7.2.330.0090.00916.80
7.2.320.0060.01216.66
7.2.310.0080.01616.82
7.2.300.0060.01616.75
7.2.290.0030.01316.55
7.2.00.0000.01219.65
7.1.100.0090.00618.07
7.1.70.0070.00717.36
7.1.60.0070.01719.19
7.1.00.0100.07022.28
7.0.200.0100.00715.05
7.0.100.0070.05719.98
7.0.90.0030.05019.92
7.0.80.0070.08319.82
7.0.70.0100.08019.97
7.0.60.0030.04719.88
7.0.50.0130.08020.24
7.0.40.0070.07720.10
7.0.30.0000.08320.14
7.0.20.0100.08320.15
7.0.10.0100.08020.09
7.0.00.0070.09020.09
5.6.280.0070.07021.11
5.6.250.0030.04720.77
5.6.240.0030.08320.68
5.6.230.0070.07320.45
5.6.220.0100.07320.47
5.6.210.0070.06020.71
5.6.200.0170.03721.00
5.6.190.0070.07721.17
5.6.180.0030.08321.00
5.6.170.0170.04721.02
5.6.160.0100.07721.16
5.6.150.0030.04721.02
5.6.140.0130.08021.02
5.6.130.0130.05321.09
5.6.120.0070.06321.12
5.6.110.0030.07721.06
5.6.100.0030.04321.15
5.6.90.0170.08020.91
5.6.80.0100.04720.33
5.6.70.0070.07320.33
5.6.60.0130.04320.38
5.6.50.0200.06720.51
5.6.40.0000.06720.30
5.6.30.0070.07720.30
5.6.20.0170.06320.36
5.6.10.0100.07320.37
5.6.00.0130.07720.37
5.5.380.0100.07720.30
5.5.370.0100.08320.30
5.5.360.0070.08320.48
5.5.350.0030.08320.41
5.5.340.0070.07320.92
5.5.330.0000.04720.75
5.5.320.0030.05020.82
5.5.310.0000.08720.82
5.5.300.0070.05720.77
5.5.290.0100.07320.79
5.5.280.0130.07320.76
5.5.270.0100.06320.78
5.5.260.0070.08320.71
5.5.250.0030.08720.61
5.5.240.0100.05020.02
5.5.230.0070.08020.25
5.5.220.0070.05020.10
5.5.210.0100.06720.14
5.5.200.0100.07020.20
5.5.190.0000.08020.18
5.5.180.0130.07320.23
5.5.160.0030.07720.11
5.5.150.0070.08320.23
5.5.140.0100.07720.20
5.5.130.0070.08020.23
5.5.120.0070.08020.23
5.5.110.0100.04320.18
5.5.100.0130.04319.97
5.5.90.0100.07020.11
5.5.80.0070.07020.07
5.5.70.0070.07720.10
5.5.60.0130.04720.14
5.5.50.0100.06020.05
5.5.40.0030.07019.99
5.5.30.0130.07019.92
5.5.20.0100.07720.14
5.5.10.0030.08320.04
5.5.00.0070.08019.95

preferences:
33.01 ms | 401 KiB | 5 Q