3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new \DateTime('first day of this month'); $end = (new \DateTime('first day of this month'))->modify('+18 months'); $interval = new \DateInterval('P1M'); $period = new \DatePeriod($start, $interval, $end); foreach ($period as $month) { $lastDayOfMonth = $month->format('t'); $day = (date('d') > $lastDayOfMonth) ? $lastDayOfMonth : date('d'); echo $month->format("n | Y | Y-m-{$day}"); echo "\n"; }

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.4.140.0090.01317.97
8.4.130.0030.00718.85
8.4.120.0060.01024.05
8.4.110.0120.01418.83
8.4.100.0110.00918.79
8.4.90.0130.00722.39
8.4.80.0130.00819.05
8.4.70.0130.00818.80
8.4.60.0120.00819.15
8.4.50.0120.00918.62
8.4.40.0040.01217.71
8.4.30.0200.00019.82
8.4.20.0040.01818.69
8.4.10.0130.00319.59
8.3.260.0120.00716.65
8.3.250.0130.00919.07
8.3.240.0050.00317.32
8.3.230.0110.00816.59
8.3.220.0120.00718.88
8.3.210.0140.00516.92
8.3.200.0050.00416.53
8.3.190.0120.00617.41
8.3.180.0090.00918.93
8.3.170.0090.00916.71
8.3.160.0110.00717.19
8.3.150.0070.01116.63
8.3.140.0000.00819.20
8.3.130.0030.00618.71
8.3.120.0100.00720.70
8.3.110.0050.00316.77
8.3.100.0000.00924.06
8.3.90.0040.00426.77
8.3.80.0030.00616.63
8.3.70.0120.00918.55
8.3.60.0170.00718.30
8.3.50.0120.00718.21
8.3.40.0100.00618.83
8.3.30.0120.00318.81
8.3.20.0050.00319.34
8.3.10.0040.00423.51
8.3.00.0040.00420.63
8.2.290.0090.00920.53
8.2.280.0050.00418.45
8.2.270.0040.01417.20
8.2.260.0090.00918.75
8.2.250.0030.00616.73
8.2.240.0060.00317.15
8.2.230.0030.00720.94
8.2.220.0060.00337.54
8.2.210.0100.00026.77
8.2.200.0090.00016.63
8.2.190.0080.01118.36
8.2.180.0040.01116.75
8.2.170.0070.01022.96
8.2.160.0110.00419.59
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0030.00619.44
8.2.120.0030.00526.35
8.2.110.0070.00321.13
8.2.100.0040.00718.16
8.2.90.0000.00918.16
8.2.80.0030.00518.05
8.2.70.0000.00817.63
8.2.60.0000.00917.75
8.2.50.0050.00517.88
8.2.40.0050.00317.88
8.2.30.0070.00020.71
8.2.20.0000.00718.13
8.2.10.0000.00818.24
8.2.00.0040.00419.54
8.1.330.0050.00622.06
8.1.320.0090.01016.44
8.1.310.0060.00316.10
8.1.300.0110.00718.42
8.1.290.0000.01018.88
8.1.280.0100.00725.92
8.1.270.0140.00423.96
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00322.19
8.1.230.0060.00622.70
8.1.220.0080.00017.91
8.1.210.0090.00318.87
8.1.200.0030.00717.61
8.1.190.0050.00317.30
8.1.180.0050.00318.10
8.1.170.0050.00317.75
8.1.160.0040.00418.95
8.1.150.0000.01018.92
8.1.140.0060.00320.79
8.1.130.0000.00719.10
8.1.120.0040.00417.73
8.1.110.0000.00717.68
8.1.100.0000.00817.59
8.1.90.0040.00417.75
8.1.80.0040.00417.76
8.1.70.0040.00417.67
8.1.60.0060.00617.75
8.1.50.0000.00817.68
8.1.40.0000.00817.59
8.1.30.0040.00417.73
8.1.20.0000.00717.80
8.1.10.0060.00317.69
8.1.00.0000.00917.62
8.0.300.0040.00420.03
8.0.290.0040.00417.00
8.0.280.0070.00018.45
8.0.270.0060.00317.04
8.0.260.0060.00018.57
8.0.250.0030.00317.18
8.0.240.0000.00817.15
8.0.230.0040.00417.27
8.0.220.0000.00717.06
8.0.210.0000.00717.12
8.0.200.0030.00517.19
8.0.190.0040.00417.20
8.0.180.0030.00517.12
8.0.170.0040.00417.15
8.0.160.0040.00417.21
8.0.150.0000.00716.97
8.0.140.0080.00417.09
8.0.130.0000.00513.50
8.0.120.0000.00717.13
8.0.110.0000.00717.10
8.0.100.0040.00417.06
8.0.90.0040.00417.08
8.0.80.0060.01517.14
8.0.70.0030.00517.09
8.0.60.0030.00617.02
8.0.50.0040.00417.15
8.0.30.0080.01117.40
8.0.20.0100.01717.52
8.0.10.0040.00417.30
8.0.00.0110.01216.79
7.4.330.0030.00315.55
7.4.320.0030.00316.75
7.4.300.0040.00416.63
7.4.290.0000.00716.74
7.4.280.0030.00416.71
7.4.270.0070.00016.80
7.4.260.0070.00016.66
7.4.250.0000.00816.58
7.4.240.0030.00316.73
7.4.230.0040.00416.82
7.4.220.0000.00816.86
7.4.210.0030.01716.78
7.4.200.0000.00716.82
7.4.160.0140.00516.58
7.4.140.0110.01117.86
7.4.130.0190.00716.72
7.4.120.0130.01116.69
7.4.110.0060.01416.62
7.4.100.0100.00716.73
7.4.90.0130.00316.64
7.4.80.0170.00319.39
7.4.70.0030.01416.66
7.4.60.0090.00916.59
7.4.50.0110.00416.55
7.4.40.0100.01316.55
7.4.00.0040.01115.09
7.3.330.0000.00513.25
7.3.320.0040.00413.45
7.3.310.0000.00716.43
7.3.300.0030.00316.43
7.3.290.0110.00416.52
7.3.280.0100.00816.54
7.3.260.0130.00716.68
7.3.240.0100.00816.73
7.3.230.0130.00316.79
7.3.210.0120.00916.52
7.3.200.0120.00616.58
7.3.190.0080.00816.63
7.3.180.0090.01316.54
7.3.170.0050.01116.51
7.3.160.0070.01516.46
7.3.10.0000.00916.53
7.3.00.0060.00317.08
7.2.330.0190.00616.80
7.2.320.0150.01116.96
7.2.310.0030.01416.82
7.2.300.0070.01116.68
7.2.290.0100.01316.86
7.2.130.0070.00717.28
7.2.120.0000.01217.31
7.2.110.0060.00617.02
7.2.100.0100.00317.25
7.2.90.0070.00716.09
7.2.80.0290.00916.25
7.2.70.0090.00815.89
7.2.60.0250.00616.29
7.2.50.0220.01016.16
7.2.40.0200.00616.35
7.2.30.0060.01016.30
7.2.20.0090.01316.09
7.2.10.0050.00715.94
7.2.00.0040.01516.23
7.1.250.0070.00715.75
7.1.210.0070.01314.03
7.1.200.0250.00414.09
7.1.190.0430.00313.80
7.1.180.0220.00913.77
7.1.170.0670.01314.17
7.1.160.0110.00413.95
7.1.150.0130.00614.15
7.1.140.0130.00314.26
7.1.130.0180.00414.16
7.1.120.0450.00414.15
7.1.110.0130.00614.05
7.1.100.0270.00514.07
7.1.90.0820.01214.05
7.1.80.0050.01113.93
7.1.70.0030.01114.05
7.1.60.0320.01132.05
7.1.50.0260.02132.02
7.1.40.1270.00932.29
7.1.30.0910.01731.96
7.1.20.0670.00632.25
7.1.10.0270.00814.06
7.1.00.0050.01614.39

preferences:
49.78 ms | 403 KiB | 5 Q