3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = (new DateTime('2010-12-02'))->modify('first day of this month'); $end = (new DateTime('2012-05-06'))->modify('first day of next month'); $interval = DateInterval::createFromDateString('1 month'); $period = new DatePeriod($start, $interval, $end); foreach ($period as $dt) { echo $dt->format("M") . ","; }

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.0160.00016.75
8.3.50.0080.00816.51
8.3.40.0150.00718.92
8.3.30.0070.00718.64
8.3.20.0040.00420.18
8.3.10.0000.00923.64
8.3.00.0000.00819.65
8.2.180.0000.01518.29
8.2.170.0110.00722.96
8.2.160.0070.01019.41
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0030.00619.46
8.2.120.0080.00026.35
8.2.110.0050.00522.16
8.2.100.0040.00818.03
8.2.90.0040.00418.11
8.2.80.0050.00519.41
8.2.70.0040.00417.88
8.2.60.0030.00618.05
8.2.50.0040.00418.10
8.2.40.0040.00420.48
8.2.30.0030.00719.32
8.2.20.0040.00418.13
8.2.10.0080.00018.27
8.2.00.0060.00318.21
8.1.280.0040.01125.92
8.1.270.0040.00422.13
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0160.00622.02
8.1.230.0060.00621.04
8.1.220.0050.00317.77
8.1.210.0030.00618.95
8.1.200.0090.00017.48
8.1.190.0090.00017.48
8.1.180.0040.00418.10
8.1.170.0040.00418.70
8.1.160.0030.00319.15
8.1.150.0070.00018.91
8.1.140.0000.00719.64
8.1.130.0030.00618.97
8.1.120.0070.00017.71
8.1.110.0030.00517.61
8.1.100.0000.00917.69
8.1.90.0040.00417.79
8.1.80.0050.00317.70
8.1.70.0040.00417.61
8.1.60.0040.00417.67
8.1.50.0060.00317.59
8.1.40.0000.00817.58
8.1.30.0050.00317.86
8.1.20.0000.00717.80
8.1.10.0040.00417.77
8.1.00.0000.00717.77
8.0.300.0040.00419.90
8.0.290.0040.00416.88
8.0.280.0040.00418.59
8.0.270.0030.00517.32
8.0.260.0030.00317.09
8.0.250.0070.00017.23
8.0.240.0000.00817.11
8.0.230.0030.00317.27
8.0.220.0000.00717.17
8.0.210.0070.00017.05
8.0.200.0000.00617.14
8.0.190.0050.00317.12
8.0.180.0000.00717.14
8.0.170.0000.00817.08
8.0.160.0040.00417.14
8.0.150.0000.00817.11
8.0.140.0030.00517.00
8.0.130.0050.00013.51
8.0.120.0040.00417.15
8.0.110.0000.00817.04
8.0.100.0040.00416.96
8.0.90.0000.00717.16
8.0.80.0000.01617.14
8.0.70.0040.00417.04
8.0.60.0080.00017.04
8.0.50.0040.00417.13
8.0.30.0080.01217.20
8.0.20.0140.00517.42
8.0.10.0000.00717.28
8.0.00.0100.00717.04
7.4.330.0050.00015.55
7.4.320.0030.00316.72
7.4.300.0000.00616.82
7.4.290.0070.00316.79
7.4.280.0040.00416.80
7.4.270.0030.00316.62
7.4.260.0050.00316.77
7.4.250.0040.00416.78
7.4.240.0050.00216.78
7.4.230.0000.00716.55
7.4.220.0100.01016.64
7.4.210.0090.00616.73
7.4.200.0030.00316.71
7.4.160.0080.00816.67
7.4.150.0070.01117.40
7.4.140.0080.01617.86
7.4.130.0060.01816.63
7.4.120.0080.01016.73
7.4.110.0000.01716.75
7.4.100.0090.01216.60
7.4.90.0190.00616.82
7.4.80.0060.01219.39
7.4.70.0080.00816.85
7.4.60.0080.00816.60
7.4.50.0070.01016.67
7.4.40.0100.00616.75
7.4.30.0130.00916.63
7.4.00.0110.00715.29
7.3.330.0000.00513.16
7.3.320.0000.00713.26
7.3.310.0040.00416.39
7.3.300.0020.00516.47
7.3.290.0060.00916.51
7.3.280.0090.00916.47
7.3.270.0090.00817.40
7.3.260.0080.01316.63
7.3.250.0110.00916.68
7.3.240.0150.00316.79
7.3.230.0110.00716.80
7.3.210.0030.01716.59
7.3.200.0090.01216.75
7.3.190.0000.01816.58
7.3.180.0090.00816.79
7.3.170.0120.01216.64
7.3.160.0060.01316.68
7.2.330.0100.00716.89
7.2.320.0110.00616.96
7.2.310.0100.00616.99
7.2.300.0090.00916.90
7.2.290.0130.00316.79
7.2.60.0050.01017.25
7.2.00.0070.00719.79
7.1.200.0060.00315.96
7.1.100.0040.01118.54
7.1.70.0510.00715.57
7.1.60.0760.00315.67
7.1.50.0480.01515.40
7.1.40.0630.01015.16
7.1.30.0490.01415.14
7.1.20.0830.01015.04
7.1.10.0510.01015.05
7.1.00.0550.01115.05
7.0.200.0490.00415.36
7.0.190.0500.00315.13
7.0.180.0530.00315.04
7.0.170.0570.00615.04
7.0.160.0480.00715.04
7.0.150.0510.00715.04
7.0.140.0450.00915.04
7.0.130.0550.00715.04
7.0.120.0540.00615.04
7.0.110.0470.01115.04
7.0.100.0480.00915.04
7.0.90.0680.00315.04
7.0.80.0590.00315.04
7.0.70.0570.00615.04
7.0.60.0600.01015.04
7.0.50.0850.00715.04
7.0.40.0000.01315.04
7.0.30.0060.00615.04
7.0.20.0060.00615.04
7.0.10.0080.00415.04
7.0.00.0090.00615.04

preferences:
37.97 ms | 401 KiB | 5 Q