3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dt = new DateTime('first Monday of this month'); $dt->modify('first Monday of this week'); echo $dt->format('d M');

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.0100.00716.88
8.3.50.0100.00921.27
8.3.40.0090.00618.99
8.3.30.0040.01118.64
8.3.20.0040.00420.34
8.3.10.0030.00523.61
8.3.00.0150.00323.70
8.2.180.0070.00718.42
8.2.170.0070.00722.96
8.2.160.0030.01320.70
8.2.150.0060.00324.18
8.2.140.0100.00324.66
8.2.130.0050.00319.85
8.2.120.0040.00426.35
8.2.110.0030.00622.43
8.2.100.0070.00418.16
8.2.90.0040.00419.37
8.2.80.0050.00317.97
8.2.70.0060.00317.75
8.2.60.0040.00418.05
8.2.50.0040.00418.07
8.2.40.0080.00022.27
8.2.30.0050.00219.58
8.2.20.0040.00417.94
8.2.10.0040.00418.22
8.2.00.0040.00418.11
8.1.280.0100.01025.92
8.1.270.0060.00323.96
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0090.00022.46
8.1.230.0080.00419.28
8.1.220.0080.00017.89
8.1.210.0050.00318.77
8.1.200.0030.00617.63
8.1.190.0000.00817.48
8.1.180.0030.00518.10
8.1.170.0020.00518.57
8.1.160.0040.00420.81
8.1.150.0050.00218.93
8.1.140.0040.00419.64
8.1.130.0030.00417.82
8.1.120.0020.00517.71
8.1.110.0040.00417.60
8.1.100.0000.00717.61
8.1.90.0040.00417.61
8.1.80.0030.00517.55
8.1.70.0040.00417.52
8.1.60.0060.00317.71
8.1.50.0050.00317.52
8.1.40.0030.00517.67
8.1.30.0050.00517.75
8.1.20.0040.00417.75
8.1.10.0000.00717.74
8.1.00.0040.00417.72
8.0.300.0000.00718.77
8.0.290.0000.00717.00
8.0.280.0030.00518.50
8.0.270.0000.00717.30
8.0.260.0000.00617.29
8.0.250.0030.00317.25
8.0.240.0000.00717.18
8.0.230.0070.00017.18
8.0.220.0070.00017.14
8.0.210.0030.00317.10
8.0.200.0040.00417.04
8.0.190.0000.00817.13
8.0.180.0040.00417.11
8.0.170.0040.00416.95
8.0.160.0040.00417.11
8.0.150.0020.00516.96
8.0.140.0030.00616.93
8.0.130.0040.00413.39
8.0.120.0080.00016.95
8.0.110.0000.00817.04
8.0.100.0040.00417.08
8.0.90.0080.00016.93
8.0.80.0000.01517.13
8.0.70.0040.00416.95
8.0.60.0070.00017.03
8.0.50.0000.00716.88
8.0.30.0090.00717.21
8.0.20.0120.00917.47
8.0.10.0050.00317.05
8.0.00.0080.01016.87
7.4.330.0020.00216.77
7.4.320.0060.00016.49
7.4.300.0030.00616.74
7.4.290.0070.00016.53
7.4.280.0030.00616.66
7.4.270.0000.00616.70
7.4.260.0030.00316.64
7.4.250.0000.00716.68
7.4.240.0040.00416.69
7.4.230.0000.00716.47
7.4.220.0150.00916.65
7.4.210.0090.01016.72
7.4.200.0030.00316.81
7.4.160.0090.00616.65
7.4.150.0130.00617.40
7.4.140.0130.01017.86
7.4.130.0100.00716.38
7.4.120.0080.00916.71
7.4.110.0130.01016.70
7.4.100.0090.00916.68
7.4.90.0100.01316.65
7.4.80.0100.00719.39
7.4.70.0100.00616.57
7.4.60.0090.00916.64
7.4.50.0060.01016.48
7.4.40.0000.01816.78
7.4.30.0070.01016.50
7.4.00.0070.01015.30
7.3.330.0000.00613.15
7.3.320.0020.00213.06
7.3.310.0030.00316.28
7.3.300.0040.00416.36
7.3.290.0000.00616.32
7.3.280.0120.00416.30
7.3.270.0090.00917.40
7.3.260.0070.01116.25
7.3.240.0150.00716.46
7.3.230.0150.00316.61
7.3.210.0090.00916.44
7.3.200.0030.01419.39
7.3.190.0060.00916.41
7.3.180.0060.01116.63
7.3.170.0100.01016.51
7.3.160.0070.01016.38
7.2.330.0080.01116.70
7.2.320.0030.01416.89
7.2.310.0060.01217.00
7.2.300.0140.00316.98
7.2.290.0060.00916.66
7.2.60.0080.00816.81
7.2.00.0070.00319.72
7.1.200.0090.00615.91
7.1.100.0070.00717.93
7.1.70.0000.01117.22
7.1.60.0070.01719.18
7.1.50.0100.01016.70
7.1.00.0070.07022.28
7.0.200.0310.00316.74
7.0.60.0230.06321.66
7.0.50.0170.08017.90
7.0.40.0070.04020.24
7.0.30.0100.05320.10
7.0.20.0300.06020.30
7.0.10.0070.07020.13
7.0.00.0070.05020.11
5.6.280.0070.07021.06
5.6.210.0130.07720.56
5.6.200.0070.06318.13
5.6.190.0070.08020.64
5.6.180.0370.06720.57
5.6.170.0200.03720.54
5.6.160.0100.07720.60
5.6.150.0130.06018.11
5.6.140.0070.08318.16
5.6.130.0070.05318.15
5.6.120.0030.04720.97
5.6.110.0100.08320.98
5.6.100.0030.04021.00
5.6.90.0070.08721.11
5.6.80.0170.07320.48
5.5.350.0300.07320.42
5.5.340.0030.08017.95
5.5.330.0030.05320.07
5.5.320.0470.07020.20
5.5.310.0300.07320.16
5.5.300.0230.07017.95
5.5.290.0070.07717.90
5.5.280.0030.08320.66
5.5.270.0100.08320.74
5.5.260.0130.05720.84
5.5.250.0130.07320.68
5.5.240.0170.07720.23

preferences:
45.48 ms | 401 KiB | 5 Q