3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { throw new Exception('foo'); } catch(Exception($e) { goto a; } a: print_r('bar');

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.0130.04019.23
5.4.310.0300.03719.14
5.4.300.0130.04019.15
5.4.290.0170.04719.09
5.4.280.0030.04018.95
5.4.270.0200.03319.14
5.4.260.0230.04018.98
5.4.250.0230.04019.13
5.4.240.0170.03718.87
5.4.230.0270.03018.85
5.4.220.0170.04319.13
5.4.210.0130.04019.19
5.4.200.0230.03019.22
5.4.190.0270.03719.14
5.4.180.0170.04018.86
5.4.170.0230.03319.19
5.4.160.0170.03718.82
5.4.150.0200.03718.84
5.4.140.0200.04316.38
5.4.130.0130.04016.35
5.4.120.0130.03716.51
5.4.110.0130.04016.28
5.4.100.0200.04316.37
5.4.90.0230.03016.54
5.4.80.0170.03716.20
5.4.70.0170.03716.23
5.4.60.0200.03016.52
5.4.50.0170.03316.43
5.4.40.0000.03716.36
5.4.30.0100.03316.52
5.4.20.0230.03016.43
5.4.10.0170.03716.38
5.4.00.0170.03715.93
5.3.290.0170.03714.50
5.3.280.0200.03314.43
5.3.270.0130.05314.59
5.3.260.0200.03714.41
5.3.250.0200.03314.45
5.3.240.0230.04314.70
5.3.230.0000.04014.44
5.3.220.0070.03714.51
5.3.210.0130.03014.55
5.3.200.1100.04014.51
5.3.190.1630.04014.50
5.3.180.1800.03014.42
5.3.170.1870.03314.58
5.3.160.1870.03714.47
5.3.150.2230.04714.58
5.3.140.2100.04014.39
5.3.130.1800.03714.45
5.3.120.2070.03714.49
5.3.110.1770.04014.39
5.3.100.0300.03313.98
5.3.90.0170.03013.87
5.3.80.0070.04013.80
5.3.70.0200.07014.00
5.3.60.0170.07714.02
5.3.50.0230.07013.94
5.3.40.0130.04313.99
5.3.30.0130.04013.88
5.3.20.0170.06013.63
5.3.10.0130.03713.49
5.3.00.0270.05013.43
5.2.170.0130.03310.94
5.2.160.0170.05710.98
5.2.150.0170.04011.19
5.2.140.0170.03011.19
5.2.130.0170.06311.15
5.2.120.0270.02311.14
5.2.110.0230.04310.94
5.2.100.0170.02711.01
5.2.90.0170.05010.94
5.2.80.0130.06711.14
5.2.70.0230.07311.18
5.2.60.0270.04010.96
5.2.50.0130.03311.04
5.2.40.0130.03310.83
5.2.30.0200.03011.02
5.2.20.0170.03010.79
5.2.10.0130.02710.76
5.2.00.0130.02710.62
5.1.60.0130.0209.89
5.1.50.0030.0309.88
5.1.40.0070.02710.06
5.1.30.0100.02710.25
5.1.20.0130.02310.23
5.1.10.0130.02310.15
5.1.00.0130.0239.96
5.0.50.0100.0178.54
5.0.40.0130.0138.54
5.0.30.0030.0308.54
5.0.20.0070.0208.54
5.0.10.0100.0208.54
5.0.00.0100.0478.54
4.4.90.0030.0208.54
4.4.80.0070.0178.54
4.4.70.0070.0138.54
4.4.60.0030.0178.54
4.4.50.0030.0178.54
4.4.40.0070.0308.54
4.4.30.0070.0338.54
4.4.20.0070.0238.54
4.4.10.0100.0138.54
4.4.00.0070.0278.54
4.3.110.0070.0208.54
4.3.100.0070.0208.54
4.3.90.0100.0108.54
4.3.80.0070.0408.54
4.3.70.0070.0238.54
4.3.60.0070.0178.54
4.3.50.0070.0208.54
4.3.40.0130.0438.54
4.3.30.0070.0278.54
4.3.20.0030.0178.54
4.3.10.0070.0378.54
4.3.00.0070.0278.54

preferences:
142.65 ms | 1394 KiB | 7 Q