3v4l.org

run code in 300+ PHP versions simultaneously
<?php function retry($retries) { start; try{ throw new \Exception(); } catch (\Exception $e) { if (!$retries--) { throw new \Exception('failed too hard', 0, $e); } } goto start; } retry(5);

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)
5.4.320.1670.05019.22
5.4.310.2230.04019.08
5.4.300.1800.03319.16
5.4.290.1630.04019.22
5.4.280.1570.04018.98
5.4.270.1470.04019.22
5.4.260.1670.03719.06
5.4.250.1730.02719.23
5.4.240.1730.03019.24
5.4.230.1670.03319.12
5.4.220.1870.04319.19
5.4.210.2030.05018.86
5.4.200.1670.03719.30
5.4.190.1670.04019.05
5.4.180.1630.04319.18
5.4.170.1800.03318.86
5.4.160.1930.04019.18
5.4.150.2130.04719.07
5.4.140.1770.05016.51
5.4.130.1570.03716.29
5.4.120.1830.04316.30
5.4.110.1770.04716.25
5.4.100.1670.02716.38
5.4.90.1800.04016.51
5.4.80.1900.03716.39
5.4.70.1930.03016.34
5.4.60.1570.03716.19
5.4.50.1830.04316.16
5.4.40.1870.05316.54
5.4.30.1830.04316.53
5.4.20.1930.03316.32
5.4.10.1700.04016.51
5.4.00.1800.03715.96
5.3.290.1830.04314.64
5.3.280.1830.03714.56
5.3.270.1630.03314.59
5.3.260.1900.04014.59
5.3.250.1930.04714.72
5.3.240.1600.03714.72
5.3.230.1970.03714.49
5.3.220.1600.03314.71
5.3.210.1730.04014.58
5.3.200.1570.04014.71
5.3.190.2030.03314.68
5.3.180.1870.04714.49
5.3.170.1830.04314.66
5.3.160.1930.04314.46
5.3.150.1600.04014.66
5.3.140.1900.04714.79
5.3.130.1830.03014.59
5.3.120.1870.04014.52
5.3.110.1600.04014.45
5.3.100.1800.04714.01
5.3.90.1830.04014.01
5.3.80.2000.03714.09
5.3.70.1970.03713.92
5.3.60.2000.03314.05
5.3.50.2030.03314.06
5.3.40.1900.05713.86
5.3.30.1600.04314.05
5.3.20.1870.04013.70
5.3.10.1900.04713.71
5.3.00.2070.04713.64
5.2.170.1570.03711.05
5.2.160.1670.02311.27
5.2.150.1430.03011.16
5.2.140.1400.03011.22
5.2.130.1430.02711.03
5.2.120.1370.03011.18
5.2.110.1430.02311.01
5.2.100.1500.02311.18
5.2.90.1470.02711.34
5.2.80.1500.03711.15
5.2.70.1430.02311.18
5.2.60.1100.03011.13
5.2.50.0000.03310.93
5.2.40.0000.04311.00
5.2.30.0000.03311.05
5.2.20.0700.03311.09
5.2.10.1200.03011.01
5.2.00.1100.02710.72
5.1.60.1070.0279.98
5.1.50.1130.02010.05
5.1.40.1100.02310.02
5.1.30.1100.02310.31
5.1.20.1330.02710.30
5.1.10.1230.03310.22
5.1.00.1070.03010.05
5.0.50.0670.0238.64
5.0.40.0500.0208.50
5.0.30.0530.0278.12
5.0.20.0700.0178.19
5.0.10.0570.0208.12
5.0.00.0700.0338.13
4.4.90.0600.0137.88
4.4.80.0630.0137.88
4.4.70.0630.0177.88
4.4.60.0130.0177.88
4.4.50.0100.0307.88
4.4.40.0070.0237.88
4.4.30.0100.0377.88
4.4.20.0070.0137.88
4.4.10.0030.0207.88
4.4.00.0070.0407.88
4.3.110.0070.0207.88
4.3.100.0000.0207.88
4.3.90.0070.0177.88
4.3.80.0070.0207.88
4.3.70.0070.0177.88
4.3.60.0100.0177.88
4.3.50.0070.0237.88
4.3.40.0070.0477.88
4.3.30.0200.0277.88
4.3.20.0000.0237.88
4.3.10.0070.0177.88
4.3.00.0030.0307.88

preferences:
140.85 ms | 1394 KiB | 7 Q