3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = "18 hours 13 minutes"; $time2 = "47 minutes"; $time3 = "1 hour"; $time4 = "1 hour"; $time5 = "1 hour"; $time6 = ""; $time7 = ""; $start = new DateTime(); $end = clone($start); if (!empty($time)) $end->modify("+$time"); if (!empty($time2)) $end->modify("+$time2"); if (!empty($time3)) $end->modify("+$time3"); if (!empty($time4)) $end->modify("+$time4"); if (!empty($time5)) $end->modify("+$time5"); if (!empty($time6)) $end->modify("+$time6"); if (!empty($time7)) $end->modify("+$time7"); $total = $end->diff($start); echo $total->format('%h hours %i minutes');

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.66
8.3.50.0070.01017.48
8.3.40.0130.00318.67
8.3.30.0140.00018.76
8.3.20.0040.00421.89
8.3.10.0000.00821.91
8.3.00.0040.00421.95
8.2.180.0120.00316.88
8.2.170.0140.00022.96
8.2.160.0070.00720.47
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0090.00022.44
8.2.110.0070.00321.06
8.2.100.0030.00918.03
8.2.90.0050.00318.08
8.2.80.0030.00620.04
8.2.70.0050.00317.75
8.2.60.0000.00817.88
8.2.50.0080.00018.10
8.2.40.0030.00619.26
8.2.30.0020.00520.55
8.2.20.0070.00018.15
8.2.10.0000.00719.57
8.2.00.0040.00418.25
8.1.280.0070.01025.92
8.1.270.0080.00820.39
8.1.260.0040.00426.35
8.1.250.0140.00428.09
8.1.240.0040.00421.00
8.1.230.0070.00422.13
8.1.220.0030.00517.79
8.1.210.0000.00818.96
8.1.200.0000.00817.38
8.1.190.0000.00819.07
8.1.180.0050.00318.10
8.1.170.0080.00418.80
8.1.160.0000.00819.00
8.1.150.0000.00719.04
8.1.140.0000.00719.04
8.1.130.0040.00420.23
8.1.120.0030.00517.64
8.1.110.0070.00217.73
8.1.100.0040.00417.75
8.1.90.0020.00517.60
8.1.80.0050.00317.73
8.1.70.0070.00017.80
8.1.60.0040.00417.68
8.1.50.0070.00017.73
8.1.40.0060.00317.73
8.1.30.0020.00517.76
8.1.20.0000.00817.88
8.1.10.0050.00317.68
8.1.00.0040.00417.79
8.0.300.0000.00719.91
8.0.290.0060.00316.88
8.0.280.0000.00718.59
8.0.270.0070.00017.04
8.0.260.0030.00318.53
8.0.250.0040.00417.25
8.0.240.0030.00617.11
8.0.230.0040.00417.14
8.0.220.0030.00317.21
8.0.210.0000.00717.21
8.0.200.0030.00317.21
8.0.190.0040.00417.18
8.0.180.0040.00417.18
8.0.170.0000.00917.20
8.0.160.0090.00017.07
8.0.150.0040.00417.03
8.0.140.0000.00716.98
8.0.130.0000.00613.48
8.0.120.0040.00417.10
8.0.110.0040.00417.18
8.0.100.0040.00317.23
8.0.90.0070.00317.19
8.0.80.0050.01417.11
8.0.70.0040.00417.11
8.0.60.0000.00717.21
8.0.50.0070.00017.12
8.0.30.0070.01017.31
8.0.20.0200.00617.20
8.0.10.0000.00717.16
8.0.00.0100.00817.03
7.4.330.0050.00016.71
7.4.320.0030.00316.83
7.4.300.0030.00716.73
7.4.290.0040.00416.78
7.4.280.0060.00616.71
7.4.270.0060.00316.84
7.4.260.0050.00216.64
7.4.250.0070.00016.69
7.4.240.0070.00016.63
7.4.230.0030.00316.47
7.4.220.0040.00416.50
7.4.210.0110.00716.79
7.4.200.0000.00716.50
7.4.160.0080.01216.63
7.4.130.0070.01016.80
7.4.120.0030.01716.71
7.4.110.0110.00616.54
7.4.100.0060.01216.65
7.4.90.0000.01716.80
7.4.80.0000.01719.39
7.4.70.0060.01016.78
7.4.60.0050.01116.68
7.4.50.0030.01016.61
7.4.40.0060.00916.63
7.4.00.0090.00615.01
7.3.330.0050.00013.40
7.3.320.0000.00513.28
7.3.310.0040.00416.34
7.3.300.0070.00016.53
7.3.290.0070.00716.48
7.3.280.0090.01216.45
7.3.260.0130.00516.64
7.3.240.0110.00916.53
7.3.230.0110.01216.59
7.3.210.0120.00616.50
7.3.200.0080.00916.54
7.3.190.0170.00616.79
7.3.180.0070.00716.54
7.3.170.0110.00716.49
7.3.160.0130.00316.68
7.3.40.0140.00815.03
7.3.30.0130.00914.93
7.3.20.0080.00515.10
7.3.10.0160.00714.82
7.3.00.0090.01515.02
7.2.330.0110.00816.94
7.2.320.0170.00616.67
7.2.310.0030.01316.59
7.2.300.0130.00316.90
7.2.290.0090.00916.88
7.2.170.0120.00915.14
7.2.160.0090.00315.20
7.2.150.0120.01315.27
7.2.140.0120.00615.26
7.2.130.0170.00015.31
7.2.120.0140.00415.23
7.2.110.0060.00915.05
7.2.100.0110.00415.11
7.2.90.0090.00315.28
7.2.80.0080.00415.22
7.2.70.0060.00615.22
7.2.60.0130.00015.41
7.2.50.0120.00015.18
7.2.40.0110.00315.26
7.2.30.0110.00515.05
7.2.20.0070.01415.11
7.2.10.0130.00015.35
7.2.00.0970.01015.18
7.1.280.0250.01014.05
7.1.270.0040.00814.06
7.1.260.0130.01014.25
7.1.250.0160.00014.15

preferences:
60.62 ms | 401 KiB | 5 Q