3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foobar { $foo; public function getFoo() { }

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.380.1770.03319.09
5.4.370.1670.03319.21
5.4.360.2100.04018.98
5.4.350.1730.03719.24
5.4.340.1530.04019.21
5.4.320.1670.03718.98
5.4.310.2030.04319.15
5.4.300.1870.04718.84
5.4.290.1930.04319.15
5.4.280.2000.04718.97
5.4.270.2070.04019.08
5.4.260.2030.04319.07
5.4.250.2000.04318.94
5.4.240.2130.03719.13
5.4.230.2000.04019.30
5.4.220.1700.04319.16
5.4.210.1930.05019.07
5.4.200.1870.04719.18
5.4.190.2100.04318.96
5.4.180.1870.03018.86
5.4.170.1930.04719.00
5.4.160.1830.03019.22
5.4.150.1730.04319.17
5.4.140.1970.04716.35
5.4.130.1830.03316.49
5.4.120.1770.03716.30
5.4.110.1800.04016.54
5.4.100.2030.04016.57
5.4.90.2130.03316.36
5.4.80.2200.03316.52
5.4.70.1970.03716.43
5.4.60.2100.04016.42
5.4.50.2170.04316.53
5.4.40.1930.04016.50
5.4.30.2030.03716.50
5.4.20.1970.03716.53
5.4.10.1870.03316.52
5.4.00.2000.04715.94
5.3.290.0200.06714.79
5.3.280.0230.04014.58
5.3.270.0200.06714.65
5.3.260.0170.04714.57
5.3.250.0170.07314.68
5.3.240.0270.06314.82
5.3.230.0230.05014.74
5.3.220.0270.03314.79
5.3.210.0270.07714.57
5.3.200.0200.04314.59
5.3.190.0200.04014.47
5.3.180.0230.07014.64
5.3.170.0170.08714.63
5.3.160.0270.04014.61
5.3.150.0200.03314.46
5.3.140.0130.04714.63
5.3.130.0200.04314.45
5.3.120.0230.05014.53
5.3.110.0130.05014.52
5.3.100.0200.07313.95
5.3.90.0230.03014.02
5.3.80.0230.07013.91
5.3.70.0230.04314.05
5.3.60.0130.03714.00
5.3.50.0170.03313.84
5.3.40.0230.02713.99
5.3.30.0230.03713.92
5.3.20.0200.03013.70
5.3.10.0170.05713.56
5.3.00.0200.04713.71
5.2.170.0130.03011.09
5.2.160.0200.03011.11
5.2.150.0270.02311.13
5.2.140.0200.03011.06
5.2.130.0170.05011.02
5.2.120.0200.06011.05
5.2.110.0230.05011.10
5.2.100.0170.03011.01
5.2.90.0170.02711.00
5.2.80.0100.03310.99
5.2.70.0200.03011.22
5.2.60.0170.02710.96
5.2.50.0170.03011.16
5.2.40.0200.02311.06
5.2.30.0130.03710.97
5.2.20.0100.03010.96
5.2.10.0070.03710.76
5.2.00.0100.04310.66
5.1.60.0100.0239.92
5.1.50.0230.0439.89
5.1.40.0100.0379.90
5.1.30.0100.02710.56
5.1.20.0200.04710.24
5.1.10.0170.0479.96
5.1.00.0130.03710.07
5.0.50.0070.0208.44
5.0.40.0070.0238.63
5.0.30.0030.0608.11
5.0.20.0070.0238.17
5.0.10.0070.0378.22
5.0.00.0100.0308.05
4.4.90.0070.0137.70
4.4.80.0030.0207.70
4.4.70.0070.0177.70
4.4.60.0030.0177.70
4.4.50.0100.0137.70
4.4.40.0030.0277.70
4.4.30.0070.0137.70
4.4.20.0030.0177.70
4.4.10.0070.0137.70
4.4.00.0000.0277.70
4.3.110.0000.0377.70
4.3.100.0100.0237.70
4.3.90.0070.0207.70
4.3.80.0100.0377.70
4.3.70.0070.0177.70
4.3.60.0070.0177.70
4.3.50.0100.0207.70
4.3.40.0070.0277.70
4.3.30.0030.0137.70
4.3.20.0030.0207.70
4.3.10.0030.0137.70
4.3.00.0000.0207.70

preferences:
142.38 ms | 1394 KiB | 7 Q