3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '2016-11-06'; // sunday echo date("Y-m-d", strtotime('monday this week', strtotime($date))), "\n"; echo date("Y-m-d", strtotime('friday this week', strtotime($date))), "\n";

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.0140.00416.63
8.3.50.0100.00922.10
8.3.40.0040.01118.89
8.3.30.0090.00618.84
8.3.20.0040.00420.66
8.3.10.0040.00421.77
8.3.00.0000.00721.68
8.2.180.0000.01416.88
8.2.170.0110.00422.96
8.2.160.0100.00322.13
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0000.00719.95
8.2.120.0040.00426.35
8.2.110.0030.00719.35
8.2.100.0040.00718.16
8.2.90.0000.00819.34
8.2.80.0000.00818.16
8.2.70.0000.00917.75
8.2.60.0000.00818.16
8.2.50.0060.00318.16
8.2.40.0030.00620.63
8.2.30.0020.00519.35
8.2.20.0000.00718.09
8.2.10.0040.00418.07
8.2.00.0020.00517.84
8.1.280.0120.00625.92
8.1.270.0070.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.56
8.1.230.0060.00917.70
8.1.220.0050.00517.86
8.1.210.0000.00918.77
8.1.200.0030.00617.47
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0030.00618.71
8.1.160.0050.00322.18
8.1.150.0070.00020.32
8.1.140.0000.00721.39
8.1.130.0050.00217.81
8.1.120.0030.00317.48
8.1.110.0030.00617.52
8.1.100.0030.00417.63
8.1.90.0000.00817.62
8.1.80.0040.00417.63
8.1.70.0080.00417.60
8.1.60.0000.00817.69
8.1.50.0040.00417.60
8.1.40.0000.01017.64
8.1.30.0030.00617.74
8.1.20.0030.00617.82
8.1.10.0000.00817.57
8.1.00.0080.00017.59
8.0.300.0000.00818.77
8.0.290.0000.00716.88
8.0.280.0030.00318.60
8.0.270.0070.00017.38
8.0.260.0030.00617.29
8.0.250.0060.00017.10
8.0.240.0040.00417.21
8.0.230.0040.00417.17
8.0.220.0030.00317.05
8.0.210.0040.00417.09
8.0.200.0030.00317.13
8.0.190.0030.00617.03
8.0.180.0040.00417.16
8.0.170.0000.00917.02
8.0.160.0070.00017.18
8.0.150.0040.00417.12
8.0.140.0070.00017.11
8.0.130.0000.00513.46
8.0.120.0080.00017.07
8.0.110.0030.00616.90
8.0.100.0040.00416.94
8.0.90.0000.00717.06
8.0.80.0090.00617.01
8.0.70.0070.00016.89
8.0.60.0040.00417.14
8.0.50.0040.00417.09
8.0.30.0070.01217.25
8.0.20.0110.00717.42
8.0.10.0040.00417.24
8.0.00.0060.00916.94
7.4.330.0000.00715.55
7.4.320.0070.00016.62
7.4.300.0000.00616.73
7.4.290.0060.00016.67
7.4.280.0050.00216.75
7.4.270.0000.00816.64
7.4.260.0050.00316.51
7.4.250.0040.00416.67
7.4.240.0000.00816.64
7.4.230.0040.00416.74
7.4.220.0070.01816.67
7.4.210.0120.00316.75
7.4.200.0070.00016.62
7.4.160.0070.00916.69
7.4.150.0080.00817.40
7.4.140.0130.00617.86
7.4.130.0080.00916.68
7.4.120.0050.01216.64
7.4.110.0060.01216.68
7.4.100.0110.00616.68
7.4.90.0130.00416.64
7.4.80.0070.01019.39
7.4.70.0100.01316.65
7.4.60.0100.00616.83
7.4.50.0060.00916.55
7.4.40.0060.01016.52
7.4.30.0170.00016.82
7.4.00.0040.01114.83
7.3.330.0000.00513.22
7.3.320.0060.00013.19
7.3.310.0030.00316.14
7.3.300.0030.00316.23
7.3.290.0120.00516.26
7.3.280.0090.01116.30
7.3.270.0140.00317.40
7.3.260.0070.01016.39
7.3.250.0080.00916.46
7.3.240.0080.00916.40
7.3.230.0080.00816.48
7.3.210.0060.01016.53
7.3.200.0090.01416.43
7.3.190.0130.00516.32
7.3.180.0110.00516.36
7.3.170.0030.01616.30
7.3.160.0160.00316.35
7.2.330.0120.00616.50
7.2.320.0060.01216.80
7.2.310.0040.01416.77
7.2.300.0130.01016.63
7.2.290.0030.01316.46
7.2.60.0060.00917.08
7.2.00.0280.00619.20
7.1.200.0080.00315.79
7.1.100.0050.00518.25
7.1.70.0020.00517.04
7.1.60.0040.00717.51
7.1.50.0100.01317.15
7.1.00.0070.07322.54
7.0.200.0000.00717.06
7.0.120.0030.07322.09
7.0.110.0200.05722.01
7.0.100.0130.06022.02
7.0.90.0100.06322.03
7.0.80.0230.04722.13
7.0.70.0100.08022.18
7.0.60.0030.07722.11
7.0.50.0130.05722.08
7.0.40.0130.05722.04
7.0.30.0230.04721.98
7.0.20.0100.05721.98
7.0.10.0170.05022.11
7.0.00.0070.06022.14
5.6.270.0130.06021.05
5.6.260.0270.06721.04
5.6.250.0170.06021.04
5.6.240.0200.05020.98
5.6.230.0170.05720.83
5.6.220.0230.05720.82
5.6.210.0170.05720.68
5.6.200.0230.06321.02
5.6.190.0070.06720.82
5.6.180.0200.05320.99
5.6.170.0130.05020.92
5.6.160.0000.06720.99
5.6.150.0100.06020.98
5.6.140.0170.05020.92
5.6.130.0130.06020.87
5.6.120.0130.05720.82
5.6.110.0130.05720.94
5.6.100.0030.06720.96
5.6.90.0100.05720.79
5.6.80.0170.05020.23
5.6.70.0100.05320.21
5.6.60.0170.04720.17
5.6.50.0130.05020.18
5.6.40.0170.05020.20
5.6.30.0100.05320.28
5.6.20.0100.05320.19
5.6.10.0100.05320.14
5.6.00.0130.05020.34

preferences:
34.91 ms | 401 KiB | 5 Q