3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new DateTimeImmutable('2012-07-01'); $end = new DateTimeImmutable('2012-07-31'); $interval = new DateInterval('P7D'); $recurrences = 4; $periodWithRecurrences = new DatePeriod($start, $interval, $recurrences); $rc = new ReflectionObject($periodWithRecurrences); print_r($rc->getProperties()); $periodWithoutRecurrences = new DatePeriod($start, $interval, $end); $rc = new ReflectionObject($periodWithoutRecurrences); print_r($rc->getProperties());

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.0110.00718.30
8.3.50.0040.01116.51
8.3.40.0150.00618.84
8.3.30.0030.01018.83
8.3.20.0060.00920.16
8.3.10.0080.00022.11
8.3.00.0000.00820.77
8.2.180.0120.00916.63
8.2.170.0120.00322.96
8.2.160.0070.00719.45
8.2.150.0090.00025.66
8.2.140.0030.00624.66
8.2.130.0050.00319.82
8.2.120.0000.00826.35
8.2.110.0090.00021.07
8.2.100.0040.00817.72
8.2.90.0000.00817.63
8.2.80.0040.00418.03
8.2.70.0000.00817.93
8.2.60.0080.00018.03
8.2.50.0090.00018.10
8.2.40.0050.00320.46
8.2.30.0040.00419.32
8.2.20.0050.00318.01
8.2.10.0040.00418.15
8.2.00.0040.00418.16
8.1.280.0100.00325.92
8.1.270.0050.00222.01
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0120.00322.39
8.1.230.0090.00320.89
8.1.220.0000.00817.74
8.1.210.0000.00920.85
8.1.200.0040.00417.48
8.1.190.0030.00517.23
8.1.180.0060.00318.10
8.1.170.0040.00418.76
8.1.160.0040.00418.83
8.1.150.0000.00720.32
8.1.140.0040.00419.54
8.1.130.0040.00419.00
8.1.120.0000.00717.51
8.1.110.0040.00417.50
8.1.100.0000.00817.57
8.1.90.0000.00717.57
8.1.80.0000.00717.48
8.1.70.0030.00317.54
8.1.60.0000.00817.52
8.1.50.0080.00017.63
8.1.40.0040.00417.54
8.1.30.0000.00817.68
8.1.20.0040.00417.65
8.1.10.0040.00417.57
8.1.00.0030.00617.56
8.0.300.0050.00319.85
8.0.290.0000.00816.88
8.0.280.0040.00418.47
8.0.270.0070.00017.14
8.0.260.0040.00418.74
8.0.250.0000.00717.02
8.0.240.0060.00317.08
8.0.230.0090.00016.96
8.0.220.0000.00816.90
8.0.210.0030.00317.06
8.0.200.0070.00017.10
8.0.190.0040.00417.12
8.0.180.0080.00017.07
8.0.170.0040.00416.95
8.0.160.0050.00217.09
8.0.150.0000.00716.86
8.0.140.0000.01117.00
8.0.130.0000.00513.32
8.0.120.0040.00416.97
8.0.110.0040.00416.94
8.0.100.0070.00016.98
8.0.90.0080.00017.07
8.0.80.0100.00616.98
8.0.70.0000.00716.98
8.0.60.0000.00716.99
8.0.50.0000.00716.94
8.0.30.0080.00817.25
8.0.20.0090.00917.41
8.0.10.0030.00617.13
8.0.00.0120.00616.77
7.4.330.0000.00615.55
7.4.320.0060.00016.68
7.4.300.0030.00316.71
7.4.290.0100.00016.59
7.4.280.0000.00716.47
7.4.270.0000.00716.44
7.4.260.0000.00716.62
7.4.250.0000.00716.66
7.4.240.0070.00016.63
7.4.230.0000.00716.77
7.4.220.0070.01016.77
7.4.210.0100.00416.61
7.4.200.0030.00316.33
7.4.160.0050.01116.48
7.4.150.0030.01517.40
7.4.140.0110.00917.86
7.4.130.0070.01316.79
7.4.120.0070.01316.47
7.4.110.0100.00716.73
7.4.100.0080.00816.66
7.4.90.0110.00716.43
7.4.80.0220.00019.39
7.4.70.0080.00816.46
7.4.60.0000.01616.72
7.4.50.0030.01016.22
7.4.40.0040.01316.78
7.4.30.0070.01016.60
7.4.00.0070.01014.77
7.3.330.0000.00513.13
7.3.320.0050.00012.97
7.3.310.0040.00416.16
7.3.300.0040.00416.30
7.3.290.0080.00716.29
7.3.280.0060.00916.28
7.3.270.0110.00717.40
7.3.260.0130.00616.32
7.3.250.0100.00716.37
7.3.240.0080.00916.36
7.3.230.0090.00616.35
7.3.210.0090.00616.30
7.3.200.0170.00016.35
7.3.190.0110.00616.55
7.3.180.0120.00316.66
7.3.170.0160.00716.60
7.3.160.0130.00316.55
7.2.330.0070.01016.69
7.2.320.0090.01016.60
7.2.310.0090.00916.65
7.2.300.0120.00916.84
7.2.290.0090.00616.65
7.2.60.0060.00317.05
7.1.200.0060.00915.70
7.1.80.0090.01616.30
7.1.70.0090.01415.50
7.1.60.0240.02033.45
7.1.50.0370.01233.05
7.1.40.0300.01532.64
7.1.30.0300.01332.34
7.1.20.0200.02432.82
7.1.10.0160.01114.91
7.1.00.6230.00614.95
7.0.200.0130.01015.13
7.0.190.0200.01014.69
7.0.180.0160.01114.59
7.0.170.0130.01314.61
7.0.160.0180.01214.74
7.0.150.0180.01214.44
7.0.140.0170.00914.48
7.0.130.0110.01014.92
7.0.120.0090.01515.02
7.0.110.0080.01614.90
7.0.100.0120.01114.43
7.0.90.6320.00714.67
7.0.80.0170.00814.89
7.0.70.0130.01314.55
7.0.60.0130.01014.36
7.0.50.5700.01914.57
7.0.40.0120.01114.82
7.0.30.0150.01214.86
7.0.20.0100.00914.65
7.0.10.0160.00914.79
7.0.00.0130.01014.80

preferences:
70.96 ms | 401 KiB | 5 Q