3v4l.org

run code in 300+ PHP versions simultaneously
<?php $F = strftime("%F") ? "%F" : "%Y-%m-%d"; foreach (array("Sat 2016-07-30", "Sun 2016-07-31", "Mon 2016-08-01", "Tue 2016-08-02") as $ref) { $ref = strtotime($ref); echo strftime("Relative to %a $F, ", $ref); echo strftime("this week = %a $F, ", strtotime("this week", $ref)); echo strftime("next week = %a $F\n", strtotime("next week", $ref)); }

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.00616.63
8.3.50.0110.00319.99
8.3.40.0040.01118.76
8.3.30.0100.00718.98
8.3.20.0020.00521.88
8.3.10.0070.00021.90
8.3.00.0110.00419.97
8.2.180.0030.01216.75
8.2.170.0040.01122.96
8.2.160.0080.00620.41
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00021.07
8.2.110.0090.00019.36
8.2.100.0120.00018.22
8.2.90.0000.00919.34
8.2.80.0000.00817.97
8.2.70.0000.00817.88
8.2.60.0030.00918.05
8.2.50.0080.00018.10
8.2.40.0030.00622.27
8.2.30.0040.00419.38
8.2.20.0040.00417.97
8.2.10.0000.00818.24
8.2.00.0000.01018.04
8.1.280.0110.00425.92
8.1.270.0080.00023.61
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00719.46
8.1.230.0070.00417.76
8.1.220.0030.00617.77
8.1.210.0040.00418.77
8.1.200.0060.00317.36
8.1.190.0030.00517.35
8.1.180.0040.00418.10
8.1.170.0050.00318.64
8.1.160.0040.00422.07
8.1.150.0050.00320.92
8.1.140.0000.00819.64
8.1.130.0000.00717.77
8.1.120.0040.00417.66
8.1.110.0040.00417.64
8.1.100.0030.00517.71
8.1.90.0040.00417.66
8.1.80.0000.00717.52
8.1.70.0030.00317.68
8.1.60.0000.00917.59
8.1.50.0030.00617.62
8.1.40.0060.00317.65
8.1.30.0050.00317.60
8.1.20.0000.00717.77
8.1.10.0000.00817.68
8.1.00.0000.00817.59
8.0.300.0060.00318.77
8.0.290.0000.00917.00
8.0.280.0000.00718.57
8.0.270.0070.00017.39
8.0.260.0000.00617.41
8.0.250.0070.00017.28
8.0.240.0000.00817.10
8.0.230.0080.00017.21
8.0.220.0000.00717.16
8.0.210.0070.00017.19
8.0.200.0070.00017.20
8.0.190.0000.00717.20
8.0.180.0020.00517.13
8.0.170.0060.00317.26
8.0.160.0030.00417.15
8.0.150.0040.00417.12
8.0.140.0030.00617.18
8.0.130.0000.00513.54
8.0.120.0030.00516.99
8.0.110.0000.00817.16
8.0.100.0040.00417.05
8.0.90.0040.00417.20
8.0.80.0030.01217.14
8.0.70.0080.00017.27
8.0.60.0080.00017.00
8.0.50.0050.00217.14
8.0.30.0130.00617.21
8.0.20.0110.00817.40
8.0.10.0070.00017.16
8.0.00.0110.00716.85
7.4.330.0000.00515.08
7.4.320.0030.00316.62
7.4.300.0060.00016.68
7.4.290.0030.00316.71
7.4.280.0040.00416.73
7.4.270.0000.00716.57
7.4.260.0030.00316.71
7.4.250.0000.00716.56
7.4.240.0030.00516.75
7.4.230.0030.00316.54
7.4.220.0070.01416.66
7.4.210.0060.01316.51
7.4.200.0020.00516.85
7.4.160.0080.00816.86
7.4.150.0170.00717.40
7.4.140.0130.00517.86
7.4.130.0110.00616.73
7.4.120.0100.00916.85
7.4.110.0070.01016.70
7.4.100.0080.01116.74
7.4.90.0090.00916.71
7.4.80.0100.01319.39
7.4.70.0120.00916.59
7.4.60.0120.00616.63
7.4.50.0070.00316.63
7.4.40.0060.01216.76
7.4.30.0060.01016.76
7.4.00.0040.01215.36
7.3.330.0060.00013.27
7.3.320.0040.00313.40
7.3.310.0030.00616.51
7.3.300.0070.00016.43
7.3.290.0070.00816.51
7.3.280.0090.01016.51
7.3.270.0160.00717.40
7.3.260.0040.01316.49
7.3.250.0100.00916.68
7.3.240.0070.01416.59
7.3.230.0090.00816.41
7.3.210.0120.00416.35
7.3.200.0090.00916.79
7.3.190.0110.00616.64
7.3.180.0050.01116.52
7.3.170.0110.00616.79
7.3.160.0170.00016.71
7.2.330.0060.01116.75
7.2.320.0190.00417.02
7.2.310.0040.01416.82
7.2.300.0110.01117.03
7.2.290.0040.01316.88
7.2.60.0040.01117.09
7.2.00.0000.01719.57
7.1.200.0000.01515.89
7.1.70.0080.00017.47
7.1.60.0040.01117.43
7.1.50.0160.00935.02
7.1.00.0030.07722.45
7.0.200.0030.01317.00
7.0.90.0730.00020.03
7.0.80.0770.00020.13
7.0.70.1000.00020.00
7.0.60.0800.00020.00
7.0.50.0670.00020.37
7.0.40.0730.00020.42
7.0.30.0800.00020.38
7.0.20.0700.00020.39
7.0.10.0700.00020.34
7.0.00.0770.00020.36
5.6.240.0730.00020.61
5.6.230.0700.00020.66
5.6.220.0730.00020.68
5.6.210.0970.00020.62
5.6.200.0700.00021.07
5.6.190.0830.00021.09
5.6.180.0900.00021.17
5.6.170.0770.00021.20
5.6.160.0770.00021.02
5.6.150.0800.00021.20
5.6.140.0870.00021.12
5.6.130.0930.00021.12
5.6.120.0830.00021.08
5.6.110.0770.00021.04
5.6.100.0830.00021.18
5.6.90.0730.00020.98
5.6.80.0700.00020.48
5.6.70.0670.00020.46
5.6.60.0900.00020.44
5.6.50.0670.00020.46
5.6.40.0800.00020.36
5.6.30.0730.00020.45
5.6.20.0900.00020.44
5.6.10.0730.00020.46
5.6.00.0700.00020.52

preferences:
58.74 ms | 400 KiB | 5 Q