3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new DateTime('2010-12-02'); $end = new DateTime('2012-05-06'); $interval = DateInterval::createFromDateString('1 month'); $period = new DatePeriod($start, $interval, $end); foreach ($period as $dt) { $result['year'][] = $dt->format("Y") . PHP_EOL; $result['month'][] = $dt->format("m") . PHP_EOL; $result['day'][] = $dt->format("m") . PHP_EOL; } array_unique($result); print_r($result);

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.0120.00618.80
8.3.50.0110.00418.43
8.3.40.0040.01119.09
8.3.30.0030.01219.13
8.3.20.0040.00421.76
8.3.10.0000.00823.48
8.3.00.0090.00019.91
8.2.180.0120.00316.90
8.2.170.0150.00022.96
8.2.160.0140.00322.30
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0050.00319.46
8.2.120.0040.00426.35
8.2.110.0040.00719.96
8.2.100.0140.00519.70
8.2.90.0080.00018.00
8.2.80.0030.00619.11
8.2.70.0040.00418.16
8.2.60.0030.00618.18
8.2.50.0050.00318.22
8.2.40.0000.00822.44
8.2.30.0040.00419.50
8.2.20.0000.00818.25
8.2.10.0100.00018.32
8.2.00.0050.00318.31
8.1.280.0070.00725.92
8.1.270.0000.00722.24
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0100.00022.20
8.1.230.0120.00022.66
8.1.220.0000.00817.77
8.1.210.0000.00818.77
8.1.200.0040.00417.48
8.1.190.0030.00517.48
8.1.180.0050.00318.10
8.1.170.0060.00320.65
8.1.160.0040.00419.02
8.1.150.0040.00420.33
8.1.140.0000.00717.81
8.1.130.0030.00319.19
8.1.120.0000.00817.69
8.1.110.0090.00017.75
8.1.100.0040.00417.73
8.1.90.0000.00817.61
8.1.80.0040.00417.71
8.1.70.0000.00717.72
8.1.60.0030.00617.76
8.1.50.0000.00817.77
8.1.40.0000.00717.70
8.1.30.0040.00417.76
8.1.20.0000.00917.89
8.1.10.0030.00617.66
8.1.00.0000.00917.76
8.0.300.0070.00018.77
8.0.290.0040.00417.00
8.0.280.0000.00718.59
8.0.270.0030.00317.32
8.0.260.0000.00717.05
8.0.250.0000.00717.28
8.0.240.0030.00317.24
8.0.230.0030.00617.32
8.0.220.0030.00317.12
8.0.210.0000.00717.30
8.0.200.0000.00717.31
8.0.190.0030.00517.34
8.0.180.0080.00317.28
8.0.170.0000.01017.23
8.0.160.0040.00417.07
8.0.150.0000.00717.16
8.0.140.0040.00417.19
8.0.130.0060.00013.50
8.0.120.0050.00317.19
8.0.110.0000.00817.20
8.0.100.0000.00717.23
8.0.90.0000.00717.09
8.0.80.0040.01117.16
8.0.70.0050.00317.25
8.0.60.0040.00417.21
8.0.50.0000.00717.21
8.0.30.0110.00817.30
8.0.20.0080.01217.40
8.0.10.0030.00517.21
8.0.00.0160.00616.98
7.4.330.0020.00215.55
7.4.320.0000.00616.66
7.4.300.0030.00316.72
7.4.290.0060.00016.84
7.4.280.0030.00616.80
7.4.270.0000.00716.80
7.4.260.0030.00316.58
7.4.250.0000.00716.68
7.4.240.0050.00316.70
7.4.230.0070.00016.82
7.4.220.0000.00816.50
7.4.210.0030.01616.74
7.4.200.0030.00316.81
7.4.160.0110.00516.74
7.4.140.0080.01217.86
7.4.130.0140.00316.77
7.4.120.0100.00716.75
7.4.110.0080.00816.86
7.4.100.0030.01316.79
7.4.90.0130.00716.77
7.4.80.0060.01319.39
7.4.70.0090.01216.78
7.4.60.0030.01316.63
7.4.50.0030.01216.79
7.4.40.0100.00616.67
7.4.00.0070.01115.14
7.3.330.0030.00313.33
7.3.320.0000.00613.41
7.3.310.0050.00216.42
7.3.300.0080.00016.43
7.3.290.0050.01216.69
7.3.280.0070.01016.61
7.3.260.0100.00916.72
7.3.240.0090.00816.71
7.3.230.0110.00616.80
7.3.210.0190.00416.87
7.3.200.0110.00816.77
7.3.190.0120.00416.72
7.3.180.0060.00916.64
7.3.170.0070.01016.62
7.3.160.0030.01316.70
7.3.10.0050.01116.73
7.3.00.0140.00316.82
7.2.330.0100.01017.01
7.2.320.0030.01316.82
7.2.310.0080.00816.98
7.2.300.0140.00716.73
7.2.290.0110.01116.91
7.2.130.0130.00516.96
7.2.120.0110.00917.00
7.2.110.0070.01316.91
7.2.100.0100.00917.15
7.2.90.0050.01116.93
7.2.80.0110.00816.99
7.2.70.0110.01017.06
7.2.60.0080.00817.17
7.2.50.0050.01217.11
7.2.40.0100.01116.87
7.2.30.0120.01017.02
7.2.20.0070.01217.79
7.2.10.0100.00718.04
7.2.00.0080.01218.21
7.1.250.0050.01115.88
7.1.200.0070.00415.88
7.1.140.0120.01018.69
7.1.130.0080.01218.93
7.1.120.0100.01219.00
7.1.110.0070.01518.50
7.1.100.0080.01418.31
7.1.90.0100.01218.15
7.1.80.0060.01418.38
7.1.70.0070.01217.19
7.1.60.0250.01635.18
7.1.50.0290.01734.80
7.1.40.0240.01434.70
7.1.30.0270.01034.65
7.1.20.0290.01734.63
7.1.10.0050.01616.70
7.1.00.0050.01216.81

preferences:
50.23 ms | 400 KiB | 5 Q