3v4l.org

run code in 300+ PHP versions simultaneously
<?php $utc = new DateTimeZone('UTC'); $start = new DateTime('2015-09-01', $utc); $end = new DateTime('2015-09-02', $utc); $interval = new DateTimeInterval('P1D'); $period = new DatePeriod($start, $interval, $end); foreach ($period as $current) { $currentEnd = clone $current; $currentEnd->add($period->interval); var_dump($current, $currentEnd); }

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.73
8.3.50.0140.00822.11
8.3.40.0070.00719.09
8.3.30.0110.00419.15
8.3.20.0050.00320.20
8.3.10.0040.00423.57
8.3.00.0040.00419.85
8.2.180.0140.00716.88
8.2.170.0090.00922.96
8.2.160.0100.00720.44
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0030.00719.27
8.2.120.0110.00426.35
8.2.110.0030.00620.43
8.2.100.0140.00317.72
8.2.90.0000.00819.14
8.2.80.0000.00817.97
8.2.70.0030.00617.75
8.2.60.0040.00417.92
8.2.50.0030.00618.07
8.2.40.0110.00319.48
8.2.30.0000.00820.71
8.2.20.0040.00417.71
8.2.10.0040.00417.95
8.2.00.0050.00218.19
8.1.280.0090.00625.92
8.1.270.0090.00023.99
8.1.260.0050.00328.09
8.1.250.0070.00028.09
8.1.240.0070.01022.00
8.1.230.0040.00723.96
8.1.220.0030.00617.79
8.1.210.0040.00418.77
8.1.200.0000.00917.48
8.1.190.0000.00717.22
8.1.180.0040.00418.10
8.1.170.0080.00018.62
8.1.160.0020.00520.79
8.1.150.0040.00418.73
8.1.140.0040.00419.58
8.1.130.0070.00017.61
8.1.120.0000.00717.60
8.1.110.0000.00717.44
8.1.100.0040.00417.43
8.1.90.0030.00417.56
8.1.80.0040.00417.52
8.1.70.0000.00717.45
8.1.60.0040.00417.52
8.1.50.0030.00517.50
8.1.40.0030.00617.58
8.1.30.0030.00617.68
8.1.20.0060.00317.68
8.1.10.0000.00717.62
8.1.00.0040.00717.56
8.0.300.0080.00018.77
8.0.290.0090.00016.88
8.0.280.0030.00318.36
8.0.270.0000.00817.23
8.0.260.0040.00417.22
8.0.250.0000.00617.01
8.0.240.0030.00317.11
8.0.230.0000.00617.09
8.0.220.0000.00817.11
8.0.210.0070.00016.94
8.0.200.0000.00717.10
8.0.190.0050.00316.98
8.0.180.0040.00416.95
8.0.170.0080.00017.05
8.0.160.0040.00417.09
8.0.150.0040.00416.92
8.0.140.0000.00717.06
8.0.130.0050.00013.47
8.0.120.0060.00317.04
8.0.110.0030.00517.04
8.0.100.0040.00416.93
8.0.90.0000.00716.91
8.0.80.0070.01017.05
8.0.70.0020.00516.81
8.0.60.0050.00217.08
8.0.50.0040.00417.09
8.0.30.0100.00817.16
8.0.20.0110.01017.40
8.0.10.0000.00717.21
8.0.00.0100.01016.79
7.4.330.0020.00216.76
7.4.320.0050.00316.61
7.4.300.0000.00616.50
7.4.290.0030.00316.60
7.4.280.0080.00016.58
7.4.270.0100.00016.68
7.4.260.0050.00216.52
7.4.250.0070.00016.66
7.4.240.0040.00316.71
7.4.230.0040.00416.70
7.4.220.0130.00916.69
7.4.210.0080.00816.70
7.4.200.0050.00216.70
7.4.160.0140.00316.72
7.4.150.0100.00717.40
7.4.140.0110.00817.86
7.4.130.0060.01316.64
7.4.120.0120.00516.59
7.4.110.0110.00716.77
7.4.100.0120.00916.72
7.4.90.0150.00316.55
7.4.80.0110.00819.39
7.4.70.0070.01016.78
7.4.60.0000.01616.66
7.4.50.0120.00316.58
7.4.40.0060.01216.54
7.4.30.0060.01216.53
7.4.00.0040.01114.63
7.3.330.0000.00513.30
7.3.320.0000.00513.20
7.3.310.0030.00316.49
7.3.300.0000.00716.45
7.3.290.0040.00416.43
7.3.280.0080.01216.40
7.3.270.0060.01017.40
7.3.260.0060.01016.54
7.3.250.0110.00616.48
7.3.240.0050.01416.26
7.3.230.0030.01616.56
7.3.210.0110.00616.39
7.3.200.0030.01416.56
7.3.190.0090.00916.55
7.3.180.0030.01416.66
7.3.170.0080.00916.39
7.3.160.0140.00716.52
7.2.330.0030.01416.37
7.2.320.0140.00416.72
7.2.310.0030.01416.62
7.2.300.0070.00816.66
7.2.290.0080.00816.54
7.2.60.0130.00616.72
7.2.00.0000.01619.32
7.1.200.0000.01315.63
7.1.100.0120.00017.98
7.1.70.0030.00517.37
7.1.60.0120.01219.50
7.1.50.0130.01016.69
7.1.00.0070.07322.27
7.0.200.0810.00714.50
7.0.60.0100.07020.06
7.0.50.0100.07717.79
7.0.40.0170.07720.03
7.0.30.0230.07020.11
7.0.20.0200.03720.20
7.0.10.0070.08320.00
7.0.00.0130.08320.00
5.6.280.0000.05020.89
5.6.210.0070.03720.47
5.6.200.0030.05318.18
5.6.190.0170.08020.41
5.6.180.0430.05020.41
5.6.170.0300.07720.50
5.6.160.0070.08720.46
5.6.150.0200.07718.21
5.6.140.0030.08318.13
5.6.130.0000.08718.11
5.6.120.0070.08321.14
5.6.110.0100.08020.95
5.6.100.0170.06320.97
5.6.90.0100.08320.85
5.6.80.0000.04020.40
5.5.350.4230.04720.42
5.5.340.0270.06017.97
5.5.330.0030.04320.57
5.5.320.0030.04020.29
5.5.310.0270.08020.24
5.5.300.0100.08017.91
5.5.290.0130.08017.98
5.5.280.0070.04020.98
5.5.270.0130.03720.79
5.5.260.0130.08020.87
5.5.250.0130.06720.61
5.5.240.0170.08320.25

preferences:
55.22 ms | 401 KiB | 5 Q