3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new DateTime('2013-02-01'); $end = new DateTime('2013-02-17'); $interval = DateInterval::createFromDateString('1 min'); $period = new DatePeriod($start, $interval, $end); foreach ($period as $dt) { echo $dt->format("l Y-m-d") . PHP_EOL; }

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.0200.02018.55
8.3.50.0110.02121.27
8.3.40.0130.01318.96
8.3.30.0140.01019.12
8.3.20.0130.00020.16
8.3.10.0110.00322.09
8.3.00.0060.00622.45
8.2.180.0100.01316.75
8.2.170.0170.01722.96
8.2.160.0140.01019.41
8.2.150.0090.00324.18
8.2.140.0120.00024.66
8.2.130.0060.00626.16
8.2.120.0120.00317.88
8.2.110.0060.00922.20
8.2.100.0090.00918.34
8.2.90.0030.00919.36
8.2.80.0060.00618.18
8.2.70.0030.01017.86
8.2.60.0040.00818.13
8.2.50.0090.00318.07
8.2.40.0000.01218.16
8.2.30.0040.00718.27
8.2.20.0000.01318.04
8.2.10.0040.00817.88
8.2.00.0100.00717.99
8.1.280.0110.01125.92
8.1.270.0090.00622.18
8.1.260.0030.01026.35
8.1.250.0090.00328.09
8.1.240.0030.01324.00
8.1.230.0070.01019.14
8.1.220.0080.00417.78
8.1.210.0060.00618.77
8.1.200.0130.00017.60
8.1.190.0040.00717.30
8.1.180.0040.00718.87
8.1.170.0000.01218.88
8.1.160.0040.00722.26
8.1.150.0000.01118.84
8.1.140.0110.00017.75
8.1.130.0110.00417.94
8.1.120.0000.01117.67
8.1.110.0060.00617.66
8.1.100.0030.00717.70
8.1.90.0040.00817.77
8.1.80.0070.00317.67
8.1.70.0030.00717.74
8.1.60.0030.01017.74
8.1.50.0060.00617.76
8.1.40.0030.01017.68
8.1.30.0000.01117.75
8.1.20.0040.00817.84
8.1.10.0030.00817.89
8.1.00.0090.00317.83
8.0.300.0120.00018.77
8.0.290.0040.00716.80
8.0.280.0040.00718.57
8.0.270.0110.00017.30
8.0.260.0120.00016.98
8.0.250.0080.00316.98
8.0.240.0060.00617.06
8.0.230.0000.01117.20
8.0.220.0000.01017.00
8.0.210.0060.00617.01
8.0.200.0030.00617.19
8.0.190.0000.01317.11
8.0.180.0000.01217.11
8.0.170.0030.00916.96
8.0.160.0000.01216.92
8.0.150.0110.00017.06
8.0.140.0060.00917.05
8.0.130.0090.00013.54
8.0.120.0100.00317.05
8.0.110.0000.01216.93
8.0.100.0030.00916.91
8.0.90.0030.00917.15
8.0.80.0120.01317.09
8.0.70.0040.00816.91
8.0.60.0030.00717.13
8.0.50.0070.00417.00
8.0.30.0150.02817.16
8.0.20.0260.01617.44
8.0.10.0000.01017.10
8.0.00.0190.02816.94
7.4.330.0090.00015.00
7.4.320.0070.00316.67
7.4.300.0030.00616.63
7.4.290.0040.00816.57
7.4.280.0030.00916.65
7.4.270.0000.01316.68
7.4.260.0030.00716.58
7.4.250.0060.00616.54
7.4.240.0100.00016.67
7.4.230.0030.00716.48
7.4.220.0070.02416.76
7.4.210.0060.02216.76
7.4.200.0050.00516.65
7.4.190.0060.00616.81
7.4.160.0100.02116.55
7.4.150.0080.03417.40
7.4.140.0140.02717.86
7.4.130.0280.02516.50
7.4.120.0230.01616.78
7.4.110.0240.01716.66
7.4.100.0070.03316.64
7.4.90.0160.01916.83
7.4.80.0120.02119.39
7.4.70.0090.02816.66
7.4.60.0170.01316.74
7.4.50.0070.00716.57
7.4.40.0170.00722.77
7.4.30.0140.02016.80
7.4.00.0160.00714.77
7.3.330.0040.00413.37
7.3.320.0030.00613.34
7.3.310.0050.00516.31
7.3.300.0030.00616.34
7.3.290.0100.01616.33
7.3.280.0120.01716.37
7.3.270.0260.01017.40
7.3.260.0300.01816.59
7.3.250.0200.01716.84
7.3.240.0180.01916.33
7.3.230.0230.01716.66
7.3.210.0230.02016.30
7.3.200.0180.03919.39
7.3.190.0230.02016.56
7.3.180.0100.03016.61
7.3.170.0110.02616.68
7.3.160.0120.02316.48
7.3.120.0100.01314.79
7.2.330.0190.01616.66
7.2.320.0140.01416.91
7.2.310.0240.02216.95
7.2.300.0180.02416.61
7.2.290.0090.02716.75
7.2.110.0780.00316.64
7.2.60.0100.01016.99
7.2.00.0060.01619.66
7.1.200.0070.00715.77
7.1.100.0030.01618.05
7.1.70.0060.00917.37
7.1.60.0170.01719.82
7.1.50.0030.02817.45
7.0.200.0030.01316.69

preferences:
31.93 ms | 401 KiB | 5 Q