3v4l.org

run code in 300+ PHP versions simultaneously
<?php $one_year_ago = date('Y-m-d 0:00', strtotime("-1 year", time())); $retry_after_date = new DateTime($one_year_ago); echo 'start::'.$retry_after_date->format('Y-m-d H:i'); for ($i=5; $i < 50; $i+=5) { // $retry_after_date = DateAdd("n", 5, RetryAfterDate) $retry_after_date->add(new DateInterval('PT' . $i. 'M')); echo "\n".$retry_after_date->format('Y-m-d H:i'); }

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)
7.2.00.0120.00919.70
7.1.100.0040.01118.61
7.1.70.0070.00716.96
7.1.60.0100.01319.40
7.1.50.0030.01217.29
7.1.00.0000.05022.54
7.0.200.0200.00916.59
7.0.140.0100.06722.12
7.0.100.0130.04019.97
7.0.90.0130.07720.00
7.0.80.0200.05019.84
7.0.70.0070.08019.85
7.0.60.0070.05319.86
7.0.50.0000.08720.30
7.0.40.0100.07020.10
7.0.30.0070.08320.09
7.0.20.0100.08720.10
7.0.10.0170.07320.13
7.0.00.0070.08020.07
5.6.280.0030.07321.07
5.6.250.0170.07020.57
5.6.240.0170.05020.69
5.6.230.0070.08720.60
5.6.220.0100.06020.63
5.6.210.0100.06020.67
5.6.200.0170.05721.04
5.6.190.0070.08721.04
5.6.180.0130.07721.03
5.6.170.0070.08720.95
5.6.160.0070.08321.00
5.6.150.0100.07021.04
5.6.140.0030.06721.13
5.6.130.0100.07720.98
5.6.120.0130.08021.13
5.6.110.0130.08320.90
5.6.100.0100.08021.00
5.6.90.0070.08721.00
5.6.80.0070.05020.42
5.6.70.0070.06320.45
5.6.60.0030.08020.32
5.6.50.0000.08720.51
5.6.40.0130.07020.38
5.6.30.0100.07320.46
5.6.20.0030.06020.52
5.6.10.0070.08020.35
5.6.00.0070.08020.35
5.5.380.0070.07320.36
5.5.370.0170.06320.36
5.5.360.0100.08020.36
5.5.350.0100.08320.46
5.5.340.0200.07020.91
5.5.330.0100.07720.82
5.5.320.0100.05720.77
5.5.310.0030.08320.72
5.5.300.0130.06720.89
5.5.290.0030.08720.92
5.5.280.0100.08020.79
5.5.270.0130.07720.81
5.5.260.0130.06020.91
5.5.250.0100.07720.59
5.5.240.0070.06320.20
5.5.230.0070.04320.28
5.5.220.0070.04020.13
5.5.210.0100.07320.29
5.5.200.0000.06720.24
5.5.190.0030.08020.21
5.5.180.0070.07020.21
5.5.160.0000.07720.20
5.5.150.0130.07020.25
5.5.140.0200.05719.95
5.5.130.0170.06020.07
5.5.120.0030.05020.06
5.5.110.0130.07020.21
5.5.100.0130.04720.02
5.5.90.0030.06719.93
5.5.80.0030.04020.05
5.5.70.0100.04319.95
5.5.60.0170.06020.02
5.5.50.0230.04719.98
5.5.40.0100.06020.07
5.5.30.0100.05020.09
5.5.20.0100.08020.06
5.5.10.0130.07720.09
5.5.00.0070.07719.94
5.4.450.0100.07319.47
5.4.440.0130.07719.45
5.4.430.0070.06319.35
5.4.420.0070.07019.22
5.4.410.0100.04019.32
5.4.400.0070.07319.05
5.4.390.0070.07719.23
5.4.380.0070.07319.18
5.4.370.0000.04718.96
5.4.360.0030.07719.07
5.4.350.0070.07319.05
5.4.340.0030.06719.23
5.4.320.0070.07718.79
5.4.310.0100.06719.07
5.4.300.0100.04719.04
5.4.290.0100.07319.22
5.4.280.0070.03718.94
5.4.270.0100.03719.23
5.4.260.0130.07019.04
5.4.250.0130.07318.96
5.4.240.0100.06719.05
5.4.230.0100.07319.22
5.4.220.0100.06719.04
5.4.210.0070.07719.19
5.4.200.0030.05318.80
5.4.190.0030.03718.89
5.4.180.0100.06718.89
5.4.170.0030.04718.80
5.4.160.0030.06319.14
5.4.150.0030.08018.76
5.4.140.0100.07316.12
5.4.130.0070.05016.33
5.4.120.0070.07316.32
5.4.110.0130.06316.29
5.4.100.0030.06316.31
5.4.90.0030.07316.38
5.4.80.0170.06016.25
5.4.70.0200.05716.20
5.4.60.0170.06316.18
5.4.50.0000.07716.28
5.4.40.0070.06016.24
5.4.30.0070.07716.18
5.4.20.0030.06716.38
5.4.10.0070.07316.18
5.4.00.0100.06315.71
5.3.290.0070.08014.65
5.3.280.0070.08014.41
5.3.270.0070.07714.46
5.3.260.0030.08014.59
5.3.250.0070.07314.47
5.3.240.0070.07314.61
5.3.230.0100.04314.57
5.3.220.0000.04714.55
5.3.210.0070.05714.43
5.3.200.0030.07314.43
5.3.190.0130.04014.56
5.3.180.0070.03714.55
5.3.170.0070.06014.43
5.3.160.0130.06314.42
5.3.150.0100.08014.50
5.3.140.0000.06314.54
5.3.130.0030.04314.36
5.3.120.0070.04714.50
5.3.110.0100.07014.51
5.3.100.0070.07714.03
5.3.90.0030.07314.00
5.3.80.0100.04013.98
5.3.70.0030.07313.95
5.3.60.0130.03313.93
5.3.50.0100.07013.93
5.3.40.0070.07013.93
5.3.30.0070.05313.66
5.3.20.0070.07713.57
5.3.10.0100.07013.41
5.3.00.0070.07013.58
5.2.170.0070.06010.97
5.2.160.0070.06010.93
5.2.150.0030.07011.08
5.2.140.0030.05711.10
5.2.130.0030.04711.09
5.2.120.0070.05311.10
5.2.110.0100.06010.93
5.2.100.0100.05011.16
5.2.90.0070.04710.96
5.2.80.0030.06011.04
5.2.70.0100.06011.09
5.2.60.0000.04711.10
5.2.50.0070.06010.85
5.2.40.0100.05311.04
5.2.30.0030.05010.96
5.2.20.0000.05710.89
5.2.10.0070.05710.78
5.2.00.0070.04310.78
5.1.60.0030.0409.98
5.1.50.0070.02310.02
5.1.40.0000.0509.85
5.1.30.0070.05710.40
5.1.20.0070.05310.40
5.1.10.0070.04710.06
5.1.00.0070.0539.89
5.0.50.0070.0208.38
5.0.40.0070.0408.45
5.0.30.0000.0578.27
5.0.20.0030.0278.04
5.0.10.0000.0338.17
5.0.00.0030.0608.15
4.4.90.0070.0236.81
4.4.80.0030.0136.81
4.4.70.0000.0276.81
4.4.60.0000.0376.81
4.4.50.0030.0376.81
4.4.40.0000.0476.81
4.4.30.0030.0276.81
4.4.20.0000.0306.81
4.4.10.0030.0176.81
4.4.00.0000.0536.81
4.3.110.0000.0376.81
4.3.100.0030.0276.81
4.3.90.0070.0176.81
4.3.80.0000.0536.81
4.3.70.0000.0236.81
4.3.60.0070.0336.81
4.3.50.0030.0336.81
4.3.40.0000.0436.81
4.3.30.0070.0176.81
4.3.20.0000.0376.81
4.3.10.0030.0176.81
4.3.00.0000.0376.81

preferences:
35.16 ms | 401 KiB | 5 Q