3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '2016-11-06 12:00:00'; // 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.0090.00916.50
8.3.50.0120.00318.05
8.3.40.0070.00718.83
8.3.30.0110.00718.84
8.3.20.0060.00320.54
8.3.10.0050.00221.77
8.3.00.0070.00021.78
8.2.180.0090.00616.50
8.2.170.0090.00622.96
8.2.160.0070.00722.21
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0040.00419.89
8.2.120.0080.00026.35
8.2.110.0100.00019.39
8.2.100.0110.00018.28
8.2.90.0030.00519.34
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0060.00317.91
8.2.50.0000.00818.10
8.2.40.0080.00020.37
8.2.30.0040.00419.22
8.2.20.0070.00018.05
8.2.10.0020.00518.18
8.2.00.0000.00717.76
8.1.280.0120.00925.92
8.1.270.0040.00422.27
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0030.00622.67
8.1.230.0060.00917.70
8.1.220.0030.00617.78
8.1.210.0050.00318.77
8.1.200.0030.00617.48
8.1.190.0000.00817.48
8.1.180.0030.00618.10
8.1.170.0000.00918.71
8.1.160.0000.00722.18
8.1.150.0000.00720.36
8.1.140.0040.00421.40
8.1.130.0070.00017.60
8.1.120.0080.00017.60
8.1.110.0040.00417.63
8.1.100.0000.00717.64
8.1.90.0000.00717.60
8.1.80.0000.00717.59
8.1.70.0060.00617.64
8.1.60.0060.00317.70
8.1.50.0040.00417.51
8.1.40.0040.00817.66
8.1.30.0000.00917.66
8.1.20.0070.00017.80
8.1.10.0040.00417.55
8.1.00.0000.00917.71
8.0.300.0050.00218.77
8.0.290.0050.00216.88
8.0.280.0000.00818.57
8.0.270.0000.00717.43
8.0.260.0070.00317.28
8.0.250.0030.00317.21
8.0.240.0050.00217.14
8.0.230.0000.00717.02
8.0.220.0000.00717.07
8.0.210.0070.00016.98
8.0.200.0000.00817.14
8.0.190.0000.00917.05
8.0.180.0040.00417.04
8.0.170.0130.00016.99
8.0.160.0000.00717.07
8.0.150.0000.00816.91
8.0.140.0030.00317.08
8.0.130.0030.00313.49
8.0.120.0000.00717.05
8.0.110.0030.00517.13
8.0.100.0040.00417.11
8.0.90.0040.00417.01
8.0.80.0100.00717.05
8.0.70.0000.00816.89
8.0.60.0050.00316.96
8.0.50.0040.00417.14
8.0.30.0090.00817.30
8.0.20.0070.01317.40
8.0.10.0040.00417.10
8.0.00.0080.01316.96
7.4.330.0000.00715.55
7.4.320.0040.00416.65
7.4.300.0030.00316.57
7.4.290.0030.00316.55
7.4.280.0030.00616.72
7.4.270.0000.00716.77
7.4.260.0030.00316.60
7.4.250.0040.00416.63
7.4.240.0030.00316.74
7.4.230.0000.00716.79
7.4.220.0090.00916.79
7.4.210.0060.01116.66
7.4.200.0060.00016.72
7.4.160.0090.00716.66
7.4.150.0100.01017.40
7.4.140.0070.01217.86
7.4.130.0080.01016.70
7.4.120.0100.01016.68
7.4.110.0090.00816.56
7.4.100.0150.00716.75
7.4.90.0000.01616.69
7.4.80.0030.01319.39
7.4.70.0090.00616.72
7.4.60.0030.01316.71
7.4.50.0080.00816.66
7.4.40.0090.00916.48
7.4.30.0090.00616.55
7.4.00.0070.01015.39
7.3.330.0050.00013.07
7.3.320.0000.00613.06
7.3.310.0030.00316.32
7.3.300.0000.00716.35
7.3.290.0090.00716.38
7.3.280.0090.00916.34
7.3.270.0120.01217.40
7.3.260.0100.00816.48
7.3.250.0120.00716.46
7.3.240.0120.00716.76
7.3.230.0060.01416.39
7.3.210.0150.00016.53
7.3.200.0070.01216.27
7.3.190.0070.01016.42
7.3.180.0050.01116.55
7.3.170.0070.01116.51
7.3.160.0050.01116.45
7.2.330.0040.01416.54
7.2.320.0110.00616.57
7.2.310.0070.01116.82
7.2.300.0150.00616.80
7.2.290.0100.00716.77
7.2.60.0040.01116.91
7.2.00.0240.00619.39
7.1.200.0030.00715.79
7.1.100.0000.01118.07
7.1.70.0060.00317.49
7.1.60.0060.00617.50
7.1.50.0100.01317.04
7.1.00.0030.07322.40
7.0.200.0030.00716.81
7.0.120.0130.05722.01
7.0.110.0100.07022.06
7.0.100.0130.05722.11
7.0.90.0070.06022.03
7.0.80.0070.06722.13
7.0.70.0100.05722.09
7.0.60.0100.05722.07
7.0.50.0100.05722.15
7.0.40.0200.07022.20
7.0.30.0100.06322.11
7.0.20.0130.05722.02
7.0.10.0200.05322.02
7.0.00.0130.05722.12
5.6.270.0130.05721.04
5.6.260.0130.07020.87
5.6.250.0170.05720.77
5.6.240.0200.06720.96
5.6.230.0130.05720.85
5.6.220.0100.06021.07
5.6.210.0170.05020.86
5.6.200.0100.05720.96
5.6.190.0030.06720.91
5.6.180.0170.05320.93
5.6.170.0030.07720.83
5.6.160.0030.06320.80
5.6.150.0130.06020.92
5.6.140.0130.07020.83
5.6.130.0170.07020.95
5.6.120.0100.06020.81
5.6.110.0100.06320.71
5.6.100.0000.07020.99
5.6.90.0100.06021.02
5.6.80.0130.05320.11
5.6.70.0100.05720.45
5.6.60.0200.06720.36
5.6.50.0100.05020.43
5.6.40.0100.05020.41
5.6.30.0130.04720.28
5.6.20.0070.05320.38
5.6.10.0170.05720.34
5.6.00.0230.06020.34

preferences:
52.4 ms | 401 KiB | 5 Q