3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startDateTime = new DateTime('2016-10-17'); $currentDate = new DateTime('2017-2-5'); $startDateTime->modify('+1 day'); $currentWeekNumber = $currentDate->format('W') + (($currentDate->format('o') - $startDateTime->format('o')) * 52); //Subtract the start week from the current week (and add 1, since we start at Week 1) to find the current study week echo $currentWeekNumber - $startDateTime->format('W') + 1;

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.0110.00718.68
8.3.50.0120.00918.26
8.3.40.0110.00318.96
8.3.30.0140.00418.80
8.3.20.0070.00721.71
8.3.10.0120.00320.73
8.3.00.0040.00421.82
8.2.180.0070.01418.41
8.2.170.0070.00722.96
8.2.160.0040.01122.16
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00418.21
8.2.120.0020.00526.35
8.2.110.0070.00320.96
8.2.100.0040.00718.16
8.2.90.0030.00519.34
8.2.80.0030.00518.00
8.2.70.0060.00317.88
8.2.60.0030.00618.05
8.2.50.0090.00018.10
8.2.40.0040.00420.48
8.2.30.0060.00319.44
8.2.20.0030.00618.26
8.2.10.0000.00718.15
8.2.00.0040.00417.91
8.1.280.0100.01025.92
8.1.270.0000.00824.00
8.1.260.0030.00626.35
8.1.250.0080.00028.09
8.1.240.0000.01021.29
8.1.230.0000.01117.70
8.1.220.0080.00017.78
8.1.210.0080.00018.77
8.1.200.0000.00917.60
8.1.190.0040.00417.48
8.1.180.0060.00318.10
8.1.170.0080.00018.71
8.1.160.0050.00218.83
8.1.150.0070.00022.11
8.1.140.0000.00719.69
8.1.130.0030.00319.14
8.1.120.0050.00317.57
8.1.110.0000.00817.63
8.1.100.0040.00417.67
8.1.90.0050.00317.62
8.1.80.0050.00317.54
8.1.70.0040.00417.61
8.1.60.0000.00817.72
8.1.50.0000.00917.50
8.1.40.0040.00417.66
8.1.30.0030.00617.83
8.1.20.0000.00817.78
8.1.10.0040.00417.79
8.1.00.0040.00417.74
8.0.300.0070.00018.77
8.0.290.0000.00717.00
8.0.280.0000.00718.58
8.0.270.0030.00317.30
8.0.260.0060.00317.36
8.0.250.0000.00717.30
8.0.240.0070.00017.20
8.0.230.0040.00417.21
8.0.220.0070.00017.15
8.0.210.0030.00317.18
8.0.200.0070.00017.21
8.0.190.0070.00017.18
8.0.180.0070.00017.13
8.0.170.0070.00017.07
8.0.160.0070.00017.10
8.0.150.0040.00417.09
8.0.140.0080.00017.08
8.0.130.0060.00013.55
8.0.120.0040.00417.07
8.0.110.0000.00816.95
8.0.100.0040.00417.16
8.0.90.0030.00617.05
8.0.80.0070.01017.20
8.0.70.0040.00417.05
8.0.60.0070.00017.01
8.0.50.0070.00017.18
8.0.30.0150.00417.30
8.0.20.0100.00917.40
8.0.10.0040.00417.12
8.0.00.0100.00716.87
7.4.330.0030.00315.55
7.4.320.0000.00616.54
7.4.300.0000.00616.77
7.4.290.0030.00516.75
7.4.280.0000.00716.64
7.4.270.0030.00316.64
7.4.260.0000.00716.64
7.4.250.0070.00016.59
7.4.240.0050.00216.64
7.4.230.0000.00816.68
7.4.220.0080.00916.56
7.4.210.0040.01116.75
7.4.200.0040.00416.75
7.4.160.0090.00616.52
7.4.150.0090.00917.40
7.4.140.0110.00817.86
7.4.130.0140.00316.68
7.4.120.0120.00916.62
7.4.110.0070.01316.64
7.4.100.0060.01116.80
7.4.90.0150.00316.61
7.4.80.0110.00619.39
7.4.70.0100.00716.59
7.4.60.0070.01016.77
7.4.50.0060.00616.65
7.4.40.0180.00016.63
7.4.30.0080.00816.55
7.4.10.0110.00315.03
7.4.00.0100.00715.24
7.3.330.0000.00513.30
7.3.320.0030.00313.21
7.3.310.0000.00716.28
7.3.300.0060.00016.35
7.3.290.0060.01016.52
7.3.280.0150.00916.48
7.3.270.0140.00317.40
7.3.260.0110.00616.69
7.3.250.0110.00616.58
7.3.240.0150.00216.54
7.3.230.0110.00716.85
7.3.210.0040.01216.59
7.3.200.0160.00016.53
7.3.190.0080.01216.66
7.3.180.0090.01216.48
7.3.170.0070.01116.40
7.3.160.0090.00916.44
7.3.130.0100.00714.93
7.3.120.0000.01314.91
7.3.110.0110.00615.12
7.3.100.0070.00714.62
7.3.90.0090.00615.03
7.3.80.0030.00614.91
7.3.70.0000.01514.91
7.3.60.0070.00714.81
7.3.50.0090.00314.98
7.3.40.0030.00614.84
7.3.30.0120.00014.91
7.3.20.0120.00317.04
7.3.10.0110.00316.85
7.3.00.0080.00616.71
7.2.330.0080.00916.89
7.2.320.0060.01116.86
7.2.310.0120.00916.72
7.2.300.0120.00916.92
7.2.290.0090.00916.93
7.2.260.0140.00415.12
7.2.250.0080.00815.46
7.2.240.0120.00414.80
7.2.230.0100.00715.28
7.2.220.0090.00615.46
7.2.210.0030.01015.16
7.2.200.0060.00914.78
7.2.190.0000.01215.24
7.2.180.0060.01014.91
7.2.170.0060.00915.26
7.2.160.0030.00915.07
7.2.150.0090.00616.83
7.2.140.0000.01217.10
7.2.130.0110.00616.88
7.2.120.0040.00916.89
7.2.110.0030.01116.86
7.2.100.0050.01017.06
7.2.90.0080.00717.18
7.2.80.0080.00617.02
7.2.70.0080.00716.98
7.2.60.0070.00816.89
7.2.50.0080.00817.00
7.2.40.0060.00817.14
7.2.30.0120.00617.09
7.2.20.0070.00717.08
7.2.10.0070.00916.84
7.2.00.0050.00817.16
7.1.330.0110.00415.73
7.1.320.0080.00815.82
7.1.310.0040.00816.25
7.1.300.0060.00315.73
7.1.290.0070.00715.98
7.1.280.0030.00615.88
7.1.270.0030.01015.93
7.1.260.0070.00715.82
7.1.250.0090.00515.98
7.1.240.0050.00915.70
7.1.230.0090.00415.79
7.1.220.0100.00415.78
7.1.210.0080.00515.86
7.1.200.0080.00315.91
7.1.190.0090.00616.10
7.1.180.0100.00815.75
7.1.170.0050.00815.68
7.1.160.0060.00416.00
7.1.150.0050.00816.06
7.1.140.0050.00815.93
7.1.130.0050.00715.96
7.1.120.0030.00715.87
7.1.110.0060.00515.72
7.1.100.0070.00415.74
7.1.90.0070.00815.90
7.1.80.0080.00815.86
7.1.70.0050.00416.42
7.1.60.0050.00716.38
7.1.50.0040.00716.35
7.1.40.0050.00715.97
7.1.30.0020.00916.04
7.1.20.0040.00916.16
7.1.10.0010.01016.10
7.1.00.0040.00516.24
7.0.330.0040.00815.53
7.0.320.0050.00615.46
7.0.310.0040.00915.40
7.0.300.0030.00815.37
7.0.290.0090.00815.49
7.0.280.0090.00615.34
7.0.270.0070.00715.53
7.0.260.0030.00915.48
7.0.250.0050.00515.56
7.0.240.0050.00815.61
7.0.230.0030.00815.54
7.0.220.0070.00515.53
7.0.210.0050.00515.55
7.0.200.0050.00715.91
7.0.190.0030.00916.04
7.0.180.0050.01015.71
7.0.170.0040.00715.74
7.0.160.0030.00715.94
7.0.150.0020.01115.73
7.0.140.0060.00515.86
7.0.130.0040.00915.73
7.0.120.0030.00815.96
7.0.110.0020.00915.82
7.0.100.0040.01015.79
7.0.90.0050.00615.84
7.0.80.0060.00615.85
7.0.70.0030.00715.70
7.0.60.0040.00715.74
7.0.50.0020.00815.86
7.0.40.0030.00713.92
7.0.30.0090.00214.01
7.0.20.0040.00613.92
7.0.10.0050.00714.06
7.0.00.0060.00713.95
5.6.400.0100.00314.70
5.6.390.0000.01114.04
5.6.380.0050.00814.50
5.6.370.0030.01314.44
5.6.360.0100.00614.42
5.6.350.0090.00314.48
5.6.340.0040.00414.60
5.6.330.0040.01114.68
5.6.320.0080.00414.55
5.6.310.0080.00314.09
5.6.300.0050.00314.48
5.6.290.0030.01014.63
5.6.280.0060.00614.45
5.6.270.0030.01014.54
5.6.260.0040.00414.46
5.6.250.0000.01114.38
5.6.240.0080.00314.28
5.6.230.0000.01214.77
5.6.220.0000.01114.68
5.6.210.0030.01314.55
5.6.200.0000.01114.39
5.6.190.0000.01014.37
5.6.180.0000.01414.55
5.6.170.0060.00714.48
5.6.160.0040.00414.64
5.6.150.0040.00714.54
5.6.140.0030.00614.52
5.6.130.0000.00814.49
5.6.120.0000.01114.54
5.6.110.0030.00714.63
5.6.100.0040.01214.56
5.6.90.0070.01014.48
5.6.80.0040.00814.30
5.6.70.0110.00414.14
5.6.60.0000.01414.47
5.6.50.0000.01514.45
5.6.40.0030.01014.25
5.6.30.0060.00314.27
5.6.20.0030.01014.21
5.6.10.0100.00314.36
5.6.00.0040.01114.36

preferences:
48.99 ms | 400 KiB | 5 Q