3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = new DateTime("second wednesday next month after february 2016"); $c->add(new DateInterval('P1M')); echo $c->format('Y/m/d');

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.0170.00316.50
8.3.50.0090.00618.19
8.3.40.0090.00918.96
8.3.30.0110.00418.79
8.3.20.0070.00020.17
8.3.10.0000.00823.60
8.3.00.0080.00019.81
8.2.180.0100.01018.41
8.2.170.0110.00322.96
8.2.160.0100.00320.35
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00421.13
8.2.120.0050.00326.35
8.2.110.0040.00420.88
8.2.100.0040.00818.09
8.2.90.0000.00819.27
8.2.80.0060.00317.97
8.2.70.0040.00417.75
8.2.60.0120.00017.80
8.2.50.0040.00418.07
8.2.40.0040.00422.28
8.2.30.0030.00320.80
8.2.20.0000.00717.86
8.2.10.0040.00418.07
8.2.00.0040.00418.08
8.1.280.0110.00425.92
8.1.270.0000.00820.21
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0070.00324.02
8.1.230.0000.01119.07
8.1.220.0080.00017.76
8.1.210.0050.00318.77
8.1.200.0040.00817.34
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0030.00618.69
8.1.160.0000.00820.65
8.1.150.0080.00018.80
8.1.140.0030.00519.53
8.1.130.0030.00517.70
8.1.120.0000.00717.50
8.1.110.0030.00517.43
8.1.100.0000.00717.50
8.1.90.0000.00717.57
8.1.80.0020.00517.54
8.1.70.0000.00717.39
8.1.60.0060.00617.55
8.1.50.0080.00017.64
8.1.40.0060.00317.61
8.1.30.0050.00317.75
8.1.20.0040.00417.65
8.1.10.0050.00317.70
8.1.00.0000.00717.60
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0000.00718.40
8.0.270.0000.00717.27
8.0.260.0040.00417.22
8.0.250.0000.00817.13
8.0.240.0050.00317.17
8.0.230.0000.00717.14
8.0.220.0000.00716.99
8.0.210.0070.00017.11
8.0.200.0000.00717.02
8.0.190.0040.00417.11
8.0.180.0000.00717.18
8.0.170.0040.00416.99
8.0.160.0070.00017.14
8.0.150.0040.00417.05
8.0.140.0000.00716.94
8.0.130.0000.00513.56
8.0.120.0000.00717.08
8.0.110.0000.00817.10
8.0.100.0030.00617.07
8.0.90.0000.00716.96
8.0.80.0090.00917.09
8.0.70.0000.00717.01
8.0.60.0040.00416.96
8.0.50.0000.00717.07
8.0.30.0110.00517.23
8.0.20.0080.01117.40
8.0.10.0040.00417.21
8.0.00.0060.01216.93
7.4.330.0020.00216.82
7.4.320.0000.00716.38
7.4.300.0000.00616.68
7.4.290.0070.00016.56
7.4.280.0050.00316.58
7.4.270.0030.00316.64
7.4.260.0030.00316.48
7.4.250.0030.00516.55
7.4.240.0040.00416.66
7.4.230.0000.00716.76
7.4.220.0130.01216.52
7.4.210.0070.00716.65
7.4.200.0000.00816.42
7.4.160.0090.00616.61
7.4.150.0070.01017.40
7.4.140.0100.01017.86
7.4.130.0070.01216.63
7.4.120.0070.01416.57
7.4.110.0110.00716.69
7.4.100.0090.00616.46
7.4.90.0080.00816.69
7.4.80.0090.00919.39
7.4.70.0100.00616.66
7.4.60.0120.00316.65
7.4.50.0060.01016.66
7.4.40.0080.00816.50
7.4.30.0060.01116.50
7.4.00.0000.01715.27
7.3.330.0060.00013.14
7.3.320.0000.00613.16
7.3.310.0020.00516.48
7.3.300.0030.00316.31
7.3.290.0070.00016.45
7.3.280.0100.00716.36
7.3.270.0120.01217.40
7.3.260.0130.01016.57
7.3.250.0060.01216.54
7.3.240.0060.01116.55
7.3.230.0060.00916.44
7.3.210.0130.00316.40
7.3.200.0140.00416.60
7.3.190.0070.01616.66
7.3.180.0060.00916.77
7.3.170.0060.01516.59
7.3.160.0000.01716.47
7.2.330.0100.00716.71
7.2.320.0060.00916.75
7.2.310.0110.01216.55
7.2.300.0070.01416.38
7.2.290.0070.01016.79
7.2.60.0070.00716.92
7.2.00.0120.00619.57
7.1.200.0070.00415.85
7.1.100.0000.01718.13
7.1.70.0000.01217.12
7.1.60.0180.00719.52
7.1.50.0130.00717.02
7.1.00.0100.07322.27
7.0.200.0000.00816.81
7.0.60.0070.04720.00
7.0.50.0100.07317.91
7.0.40.0030.06320.21
7.0.30.0230.06320.00
7.0.20.0230.08720.00
7.0.10.0070.05020.02
7.0.00.0130.04020.09
5.6.280.0030.04021.09
5.6.210.0100.06320.69
5.6.200.0130.07718.28
5.6.190.0100.06720.67
5.6.180.0300.07320.62
5.6.170.0230.07020.39
5.6.160.0000.04320.46
5.6.150.0070.07318.15
5.6.140.0130.07318.14
5.6.130.0000.04318.14
5.6.120.0070.07721.09
5.6.110.0100.05020.96
5.6.100.0070.09020.99
5.6.90.0170.06021.09
5.6.80.0070.03320.43
5.5.350.0270.07720.44
5.5.340.0100.03318.04
5.5.330.0130.08020.13
5.5.320.0300.04320.39
5.5.310.0300.06720.50
5.5.300.0070.08017.97
5.5.290.0070.08317.95
5.5.280.0100.05720.78
5.5.270.0130.07320.63
5.5.260.0070.07720.72
5.5.250.0100.04320.61
5.5.240.3800.03320.23

preferences:
58.38 ms | 400 KiB | 5 Q