3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timeEnd = "2015-01-08T12:53:13-05:00"; //retrieved from bot crawler $interval = date_interval_create_from_date_string("10 days"); $timeEndOb = new DateTime($timeEnd); $timeStartOb = $timeEndOb->sub($interval); $timeStart = $timeStartOb->format('Y-m-d H:i:s'); echo $timeStart; //echoing 2015-01-08 12:53:13

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.130.0110.00016.68
8.3.120.0040.00418.88
8.3.110.0080.00020.94
8.3.100.0070.00724.06
8.3.90.0000.00826.77
8.3.80.0050.00518.55
8.3.70.0120.00616.49
8.3.60.0140.00016.49
8.3.50.0070.01122.93
8.3.40.0070.01019.02
8.3.30.0070.00719.04
8.3.20.0000.00819.91
8.3.10.0000.00721.90
8.3.00.0080.00019.46
8.2.250.0150.00616.79
8.2.240.0040.00417.26
8.2.230.0050.00522.58
8.2.220.0030.00637.54
8.2.210.0070.00026.77
8.2.200.0060.00317.00
8.2.190.0120.00616.75
8.2.180.0140.00418.56
8.2.170.0120.00322.96
8.2.160.0070.00719.16
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00421.13
8.2.110.0030.00620.52
8.2.100.0040.00818.03
8.2.90.0040.00419.40
8.2.80.0030.00619.31
8.2.70.0040.00417.75
8.2.60.0040.00418.05
8.2.50.0050.00318.07
8.2.40.0030.00618.28
8.2.30.0030.00718.20
8.2.20.0050.00218.00
8.2.10.0030.00618.16
8.2.00.0040.00417.90
8.1.300.0170.00316.27
8.1.290.0070.00330.84
8.1.280.0040.01125.92
8.1.270.0050.00320.52
8.1.260.0060.01226.35
8.1.250.0050.00328.09
8.1.240.0090.00022.21
8.1.230.0040.00719.23
8.1.220.0050.00318.01
8.1.210.0000.00818.77
8.1.200.0090.00017.48
8.1.190.0000.00817.54
8.1.180.0060.00618.10
8.1.170.0000.00818.57
8.1.160.0080.00021.02
8.1.150.0060.00318.88
8.1.140.0000.00917.63
8.1.130.0040.00417.93
8.1.120.0000.00717.57
8.1.110.0040.00317.66
8.1.100.0040.00417.70
8.1.90.0040.00417.57
8.1.80.0000.00717.60
8.1.70.0040.00417.63
8.1.60.0050.00317.70
8.1.50.0030.00617.55
8.1.40.0000.00717.56
8.1.30.0040.00417.77
8.1.20.0030.00517.74
8.1.10.0080.00017.81
8.1.00.0040.00417.68
8.0.300.0040.00418.77
8.0.290.0000.00717.30
8.0.280.0030.00318.59
8.0.270.0030.00317.39
8.0.260.0030.00317.34
8.0.250.0000.00617.12
8.0.240.0000.00717.16
8.0.230.0050.00317.16
8.0.220.0030.00316.99
8.0.210.0040.00416.99
8.0.200.0000.00817.05
8.0.190.0040.00417.11
8.0.180.0000.00717.15
8.0.170.0050.00317.01
8.0.160.0050.00217.10
8.0.150.0040.00416.99
8.0.140.0030.00517.06
8.0.130.0030.00313.43
8.0.120.0000.01017.05
8.0.110.0050.00217.13
8.0.100.0000.00716.99
8.0.90.0030.00517.05
8.0.80.0070.01017.00
8.0.70.0080.00017.13
8.0.60.0000.00717.13
8.0.50.0040.00417.06
8.0.30.0130.00617.31
8.0.20.0140.00517.50
8.0.10.0000.00717.10
8.0.00.0050.01317.02
7.4.330.0060.00015.02
7.4.320.0000.00716.80
7.4.300.0060.00016.80
7.4.290.0000.00816.64
7.4.280.0050.00316.66
7.4.270.0000.00716.66
7.4.260.0040.00416.52
7.4.250.0070.00016.48
7.4.240.0020.00516.81
7.4.230.0000.00816.85
7.4.220.0160.01316.80
7.4.210.0080.01316.84
7.4.200.0070.00016.68
7.4.160.0070.01116.52
7.4.150.0120.00617.40
7.4.140.0110.00617.86
7.4.130.0100.00716.67
7.4.120.0070.01716.57
7.4.110.0160.01016.71
7.4.100.0200.00316.61
7.4.90.0070.01016.64
7.4.80.0130.01319.39
7.4.70.0160.00516.80
7.4.60.0060.01016.85
7.4.50.0000.00916.57
7.4.40.0030.02016.89
7.4.30.0070.01016.80
7.4.00.0050.01015.33
7.3.330.0030.00313.14
7.3.320.0000.00613.23
7.3.310.0030.00316.36
7.3.300.0000.00816.41
7.3.290.0110.00716.40
7.3.280.0080.01016.38
7.3.270.0130.00317.40
7.3.260.0120.00616.55
7.3.250.0090.00916.59
7.3.240.0100.00616.50
7.3.230.0100.00716.53
7.3.210.0090.00616.54
7.3.200.0060.01019.39
7.3.190.0080.00816.72
7.3.180.0090.00616.44
7.3.170.0060.00916.59
7.3.160.0060.01016.43
7.3.120.0070.01115.11
7.3.110.0070.01015.07
7.3.100.0000.01415.13
7.3.90.0070.00715.16
7.3.80.0100.00315.21
7.3.70.0030.00915.17
7.3.60.0070.00414.91
7.3.50.0000.01215.12
7.3.40.0000.01015.07
7.3.30.0060.00914.86
7.3.20.0000.01416.83
7.3.10.0090.00316.69
7.3.00.0000.01516.77
7.2.330.0000.01616.71
7.2.320.0060.00916.54
7.2.310.0110.01516.88
7.2.300.0040.01316.88
7.2.290.0030.01416.54
7.2.250.0060.01215.42
7.2.240.0040.01515.07
7.2.230.0030.01415.14
7.2.220.0080.00615.16
7.2.210.0070.01014.79
7.2.200.0030.01415.01
7.2.190.0000.00915.09
7.2.180.0070.00715.08
7.2.170.0030.00715.07
7.2.110.0120.00516.75
7.2.00.0070.00719.28
7.1.330.0120.00315.99
7.1.320.0070.00416.10
7.1.310.0060.00616.20
7.1.300.0040.00815.88
7.1.290.0000.01716.03
7.1.280.0070.00315.95
7.1.270.0100.00715.89
7.1.260.0000.01516.15
7.1.100.0050.01618.38
7.1.70.0040.00417.29
7.1.60.0070.01819.34
7.1.50.0140.01117.18
7.1.00.0070.07322.54
7.0.200.0040.00416.74
7.0.140.0000.03722.06
7.0.60.0070.05319.89
7.0.50.0300.04017.80
7.0.40.0070.04320.05
7.0.30.0370.07320.18
7.0.20.0230.08720.16
7.0.10.0000.04720.04
7.0.00.0130.07720.30
5.6.280.0070.07020.87
5.6.210.0100.05320.46
5.6.200.0070.03718.17
5.6.190.0130.05320.46
5.6.180.0330.04320.56
5.6.170.0330.07020.41
5.6.160.0030.09020.52
5.6.150.0030.04018.13
5.6.140.0070.07318.21
5.6.130.0000.04318.21
5.6.120.0070.07721.11
5.6.110.0070.08721.04
5.6.100.0100.08321.05
5.6.90.0030.09020.97
5.6.80.0100.07720.38
5.5.350.4270.04320.38
5.5.340.0000.04017.95
5.5.330.0030.06020.28
5.5.320.0030.08720.16
5.5.310.0270.05020.30
5.5.300.0100.07018.02
5.5.290.0070.08318.01
5.5.280.0200.05020.88
5.5.270.0070.08720.75
5.5.260.0030.09320.88
5.5.250.0000.04320.79
5.5.240.0200.07320.16
5.4.450.3300.03319.12
5.4.440.2000.04719.25
5.4.430.2870.03719.23
5.4.420.2870.03719.40
5.4.410.1900.04319.30
5.4.400.2000.04018.93
5.4.390.3400.03019.25
5.4.380.3800.04719.06
5.4.370.3100.03719.22
5.4.360.0430.04319.08
5.4.350.0500.04019.13
5.4.340.3570.04019.16
5.4.320.3270.04319.08
5.4.310.3470.03319.13
5.4.300.3800.04719.15
5.4.290.4030.03319.13
5.4.280.3800.04019.12
5.4.270.3530.03018.82
5.4.260.1170.03719.09
5.4.250.0030.03718.92
5.4.240.3470.03719.15
5.4.230.3500.04718.91
5.4.220.3500.04319.05
5.4.210.3470.03319.05
5.4.200.3370.03719.08
5.4.190.3100.04319.07
5.4.180.3470.03719.23
5.4.170.3530.04019.07
5.4.160.3400.04318.91
5.4.150.3700.03019.11
5.4.140.3370.03716.40
5.4.130.3530.04016.32
5.4.120.3430.03316.50
5.4.110.3500.03716.28
5.4.100.3470.04016.46
5.4.90.3470.03316.44
5.4.80.3570.03316.51
5.4.70.3430.03716.09
5.4.60.4000.03716.42
5.4.50.3570.04716.39
5.4.40.3330.03316.40
5.4.30.3100.03716.40
5.4.20.3600.03016.16
5.4.10.3570.03716.40
5.4.00.3600.03015.71
5.3.290.3330.03714.59
5.3.280.3530.04014.50
5.3.270.3300.03314.63
5.3.260.3370.03714.65
5.3.250.3370.03714.55
5.3.240.3530.03714.58
5.3.230.3300.03714.57
5.3.220.3370.03314.47
5.3.210.3330.04014.40
5.3.200.3100.04014.51
5.3.190.3570.03314.61
5.3.180.3570.04014.54
5.3.170.3330.03714.38
5.3.160.3600.03714.42
5.3.150.3430.03314.51
5.3.140.3330.03714.60
5.3.130.3500.03714.38
5.3.120.3300.03714.45
5.3.110.3600.03714.39
5.3.100.3470.04313.91
5.3.90.3770.04013.86
5.3.80.3500.03713.92
5.3.70.3470.04014.04
5.3.60.3600.03314.09
5.3.50.3300.03713.80
5.3.40.3500.03313.80
5.3.30.3630.04013.84
5.3.20.3470.03713.78
5.3.10.3300.03313.45
5.3.00.3530.04013.48
5.2.170.3030.03011.00
5.2.160.2970.03310.99
5.2.150.2830.03011.16
5.2.140.2930.03010.99
5.2.130.2700.02711.19
5.2.120.2630.03310.96
5.2.110.2670.03011.27
5.2.100.2370.02710.99
5.2.90.2970.03310.99
5.2.80.2800.03311.03
5.2.70.2830.03311.03
5.2.60.3400.02310.89
5.2.50.3370.03311.11
5.2.40.2870.02310.85
5.2.30.2430.03010.98
5.2.20.1800.03710.80
5.2.10.2030.02710.79
5.2.00.1870.02310.66
5.1.60.2170.0279.96
5.1.50.2600.0239.88
5.1.40.2330.02710.02
5.1.30.2330.03010.44
5.1.20.2530.02710.46
5.1.10.2230.02310.11
5.1.00.2270.02310.04
5.0.50.1200.0238.52
5.0.40.1200.0208.53
5.0.30.1270.0308.16
5.0.20.1100.0208.25
5.0.10.1130.0208.29
5.0.00.0830.0308.07
4.4.90.1130.0136.33
4.4.80.1630.0176.33
4.4.70.0500.0206.33
4.4.60.0530.0136.33
4.4.50.0800.0176.33
4.4.40.1100.0236.33
4.4.30.1070.0176.33
4.4.20.1200.0206.33
4.4.10.1100.0176.33
4.4.00.1170.0206.33
4.3.110.1170.0176.33
4.3.100.1130.0136.33
4.3.90.1070.0136.33
4.3.80.1130.0236.33
4.3.70.1300.0206.33
4.3.60.1400.0176.33
4.3.50.1170.0176.33
4.3.40.1170.0236.33
4.3.30.0670.0136.33
4.3.20.0530.0176.33
4.3.10.0270.0236.33
4.3.00.0700.0106.33

preferences:
66.81 ms | 403 KiB | 5 Q