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$i::".$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.4.00.0070.01115.08
7.3.120.0070.01014.82
7.3.110.0070.00715.22
7.3.100.0030.01315.09
7.3.90.0130.00015.05
7.3.80.0060.00615.13
7.3.70.0060.00714.95
7.3.60.0120.00315.12
7.3.50.0000.01015.18
7.3.40.0060.00614.82
7.3.30.0040.00715.15
7.3.20.0070.00717.07
7.3.10.0060.00916.99
7.3.00.0050.00716.82
7.2.250.0120.00615.33
7.2.240.0090.00915.34
7.2.230.0060.00315.26
7.2.220.0030.00915.37
7.2.210.0070.00715.45
7.2.200.0030.01015.16
7.2.190.0040.00815.47
7.2.180.0040.00715.50
7.2.170.0030.01215.47
7.2.160.0000.01415.14
7.2.150.0030.00716.91
7.2.140.0030.00517.23
7.2.130.0050.00917.19
7.2.120.0060.00717.21
7.2.110.0050.00517.13
7.2.100.0030.01017.03
7.2.90.0110.00617.16
7.2.80.0040.01117.25
7.2.70.0030.01017.31
7.2.60.0070.00617.06
7.2.50.0070.00717.01
7.2.40.0020.01417.12
7.2.30.0080.00617.29
7.2.20.0100.00217.19
7.2.10.0060.00817.11
7.2.00.0050.00917.92
7.1.330.0060.00615.89
7.1.320.0080.00616.15
7.1.310.0000.00916.28
7.1.300.0030.00716.12
7.1.290.0100.00316.07
7.1.280.0030.00816.05
7.1.270.0000.00716.14
7.1.260.0100.00316.02
7.1.250.0080.00316.00
7.1.100.0040.00718.36
7.1.70.0030.00717.33
7.1.60.0040.00717.44
7.1.50.0100.01017.20
7.1.00.0070.05322.31
7.0.200.0040.00416.67
7.0.140.0070.07021.95
7.0.100.0130.03720.04
7.0.90.0100.05319.95
7.0.80.0200.02319.91
7.0.70.0070.03719.87
7.0.60.0030.04020.08
7.0.50.0070.04020.34
7.0.40.0030.06320.13
7.0.30.0070.08020.13
7.0.20.0100.04720.11
7.0.10.0070.08320.02
7.0.00.0170.06019.93
5.6.280.0000.07320.85
5.6.250.0070.04020.77
5.6.240.0130.03720.61
5.6.230.0030.04020.59
5.6.220.0100.03720.49
5.6.210.0070.03720.60
5.6.200.0030.04320.96
5.6.190.0030.04321.11
5.6.180.0100.07021.03
5.6.170.0100.06321.04
5.6.160.0070.08721.02
5.6.150.0100.03720.96
5.6.140.0100.07320.95
5.6.130.0070.08720.95
5.6.120.0070.04021.05
5.6.110.0130.07321.09
5.6.100.0030.08321.00
5.6.90.0070.05021.00
5.6.80.0130.07020.43
5.6.70.0070.04720.33
5.6.60.0000.06320.37
5.6.50.0070.07020.34
5.6.40.0100.07720.29
5.6.30.0030.09020.46
5.6.20.0130.06720.30
5.6.10.0200.06020.30
5.6.00.0100.08020.27
5.5.380.0070.03720.43
5.5.370.0100.03020.35
5.5.360.0000.05020.36
5.5.350.0070.03720.45
5.5.340.0030.05020.78
5.5.330.0030.04320.92
5.5.320.0070.03720.82
5.5.310.0130.07320.83
5.5.300.0070.07020.88
5.5.290.0100.04020.75
5.5.280.0100.08020.88
5.5.270.0030.08720.78
5.5.260.0070.08720.76
5.5.250.0070.05320.67
5.5.240.0070.08020.25
5.5.230.0000.08020.27
5.5.220.0070.08720.27
5.5.210.0100.06720.20
5.5.200.0070.04319.97
5.5.190.0100.08020.23
5.5.180.0200.07320.12
5.5.160.0130.05720.23
5.5.150.0030.08320.18
5.5.140.0070.08320.25
5.5.130.0030.04720.27
5.5.120.0030.04720.21
5.5.110.0130.07319.97
5.5.100.0030.04020.13
5.5.90.0100.04720.12
5.5.80.0070.07020.11
5.5.70.0030.06720.07
5.5.60.0130.06319.95
5.5.50.0070.07020.04
5.5.40.0100.04319.96
5.5.30.0030.06019.95
5.5.20.0170.07020.04
5.5.10.0070.07720.10
5.5.00.0130.05720.06
5.4.450.0000.04719.42
5.4.440.0130.07019.30
5.4.430.0170.06019.24
5.4.420.0030.07319.13
5.4.410.0070.04719.24
5.4.400.0100.04719.03
5.4.390.0130.08019.14
5.4.380.0070.06318.93
5.4.370.0070.05319.04
5.4.360.0070.05319.05
5.4.350.0130.03719.07
5.4.340.0230.06319.10
5.4.320.0070.07718.95
5.4.310.0100.04018.90
5.4.300.0070.05018.98
5.4.290.0100.04318.96
5.4.280.0070.08019.14
5.4.270.0070.07719.04
5.4.260.0070.05018.90
5.4.250.0100.07018.95
5.4.240.0100.04019.07
5.4.230.0100.06718.78
5.4.220.0070.08019.12
5.4.210.0030.06719.09
5.4.200.0030.07019.08
5.4.190.0070.07019.03
5.4.180.0030.07718.83
5.4.170.0030.04319.05
5.4.160.0100.07319.13
5.4.150.0030.06319.22
5.4.140.0130.06316.34
5.4.130.0070.07316.34
5.4.120.0030.04316.43
5.4.110.0070.05316.27
5.4.100.0000.07716.36
5.4.90.0070.05016.30
5.4.80.0070.07316.41
5.4.70.0130.03316.38
5.4.60.0070.04716.20
5.4.50.0000.04016.20
5.4.40.0070.04716.43
5.4.30.0030.07016.31
5.4.20.0070.04016.31
5.4.10.0030.04716.20
5.4.00.0070.07015.81
5.3.290.0070.06714.60
5.3.280.0100.06714.54
5.3.270.0030.06014.60
5.3.260.0130.07714.59
5.3.250.0100.07714.45
5.3.240.0100.07014.43
5.3.230.0100.07714.57
5.3.220.0100.06014.55
5.3.210.0170.07014.42
5.3.200.0030.08014.40
5.3.190.0030.07714.55
5.3.180.0170.03714.39
5.3.170.0070.07714.52
5.3.160.0100.07314.57
5.3.150.0070.06714.58
5.3.140.0070.04014.38
5.3.130.0030.08014.40
5.3.120.0000.05014.48
5.3.110.0170.03314.54
5.3.100.0000.06313.85
5.3.90.0030.04314.01
5.3.80.0000.04013.87
5.3.70.0030.04313.88
5.3.60.0070.07313.86
5.3.50.0070.07713.92
5.3.40.0070.07313.93
5.3.30.0100.05713.90
5.3.20.0100.06713.67
5.3.10.0130.06013.64
5.3.00.0130.05713.50
5.2.170.0100.05311.63
5.2.160.0070.03311.63
5.2.150.0070.05711.63
5.2.140.0030.03311.63
5.2.130.0070.03311.63
5.2.120.0130.05011.63
5.2.110.0100.03011.63
5.2.100.0130.02711.63
5.2.90.0030.03311.63
5.2.80.0100.06011.63
5.2.70.0030.04711.63
5.2.60.0000.03311.63
5.2.50.0000.05311.63
5.2.40.0030.04011.63
5.2.30.0000.03711.63
5.2.20.0070.05711.63
5.2.10.0070.05711.63
5.2.00.0030.06311.63
5.1.60.0100.05311.63
5.1.50.0030.05311.63
5.1.40.0070.05711.63
5.1.30.0100.05011.63
5.1.20.0030.03011.63
5.1.10.0070.04311.63
5.1.00.0000.05711.63
5.0.50.0030.02311.63
5.0.40.0000.05011.63
5.0.30.0000.03711.63
5.0.20.0100.01711.63
5.0.10.0100.03711.63
5.0.00.0030.04011.63
4.4.90.0030.01711.63
4.4.80.0000.03711.63
4.4.70.0030.03311.63
4.4.60.0000.04011.63
4.4.50.0030.03711.63
4.4.40.0070.04711.63
4.4.30.0030.03711.63
4.4.20.0030.02011.63
4.4.10.0070.03011.63
4.4.00.0000.06011.63
4.3.110.0000.03011.63
4.3.100.0000.02011.63
4.3.90.0000.03711.63
4.3.80.0070.04011.63
4.3.70.0030.01311.63
4.3.60.0000.02011.63
4.3.50.0000.02011.63
4.3.40.0000.02711.63
4.3.30.0000.03711.63
4.3.20.0000.02011.63
4.3.10.0000.03711.63
4.3.00.0030.03011.63

preferences:
36.12 ms | 401 KiB | 5 Q