3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { public function __get($name) { return $name; } } echo Test::$value;

Here you find the average performance (time & memory) of each version. A greyed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.00.0090.00619.39
7.1.100.0220.00018.04
7.1.70.0040.00416.91
7.1.60.0070.01319.70
7.1.50.0130.01016.91
7.1.00.0100.07022.40
7.0.200.0030.00316.63
7.0.140.0200.05722.05
7.0.60.0030.07319.93
7.0.50.0100.03317.85
7.0.40.0000.05020.11
7.0.30.0300.04020.25
7.0.20.0300.06320.22
7.0.10.0170.08020.07
7.0.00.0100.08020.23
5.6.280.0100.06720.93
5.6.210.0030.04020.45
5.6.200.0030.06318.29
5.6.190.0030.08720.77
5.6.180.0200.05720.43
5.6.170.0230.04320.56
5.6.160.0070.08020.44
5.6.150.0070.07018.27
5.6.140.0170.09018.21
5.6.130.0030.04718.15
5.6.120.0130.08021.02
5.6.110.0070.09021.11
5.6.100.0300.05321.09
5.6.90.0170.07021.08
5.6.80.0170.07020.45
5.5.350.0300.07720.35
5.5.340.0100.07718.09
5.5.330.0130.08020.27
5.5.320.0200.04020.32
5.5.310.0130.04020.26
5.5.300.0130.07718.04
5.5.290.0100.04718.00
5.5.280.0070.08020.97
5.5.270.0170.07720.77
5.5.260.0030.06320.88
5.5.250.0070.07020.69
5.5.240.0170.06720.26
5.4.450.0730.05319.57
5.4.440.0200.05343.92
5.4.430.0270.04043.91
5.4.420.0300.04043.90
5.4.410.0230.03743.90
5.4.400.0570.03743.89
5.4.390.0230.04343.86
5.4.380.0330.06318.73
5.4.370.0370.04718.74
5.4.360.0330.04718.79
5.4.350.0230.06018.52
5.4.340.0330.05318.76
5.4.320.0040.04012.50
5.4.310.0080.03912.50
5.4.300.0070.03712.50
5.4.290.0040.04012.49
5.4.280.0070.03412.39
5.4.270.0060.03712.39
5.4.260.0110.03212.39
5.4.250.0180.02712.39
5.4.240.0060.03812.39
5.4.230.0070.03912.39
5.4.220.0080.03912.38
5.4.210.0040.04312.39
5.4.200.0050.03812.39
5.4.190.0050.03612.38
5.4.180.0080.03512.39
5.4.170.0030.03912.39
5.4.160.0090.03912.39
5.4.150.0090.04712.39
5.4.140.0070.05112.07
5.4.130.0050.03612.06
5.4.120.0090.03312.02
5.4.110.0090.03212.02
5.4.100.0070.03412.01
5.4.90.0060.03712.01
5.4.80.0090.03412.01
5.4.70.0060.03412.01
5.4.60.0070.03412.01
5.4.50.0050.03712.01
5.4.40.0090.03212.00
5.4.30.0050.03711.99
5.4.20.0080.03312.00
5.4.10.0070.04611.99
5.4.00.0080.04711.49
5.3.290.0060.04212.80
5.3.280.0100.05012.71
5.3.270.0100.05112.73
5.3.260.0060.04012.72
5.3.250.0050.03812.72
5.3.240.0060.03612.72
5.3.230.0100.03512.71
5.3.220.0060.03712.68
5.3.210.0060.04312.68
5.3.200.0060.03912.68
5.3.190.0100.03712.68
5.3.180.0060.03612.67
5.3.170.0070.03912.67
5.3.160.0080.03612.68
5.3.150.0080.04012.67
5.3.140.0050.03912.66
5.3.130.0050.04112.66
5.3.120.0070.04312.66
5.3.110.0140.03812.66
5.3.100.0090.03812.12
5.3.90.0060.04112.10
5.3.80.0080.04112.09
5.3.70.0080.03712.10
5.3.60.0070.04212.08
5.3.50.0040.04012.03
5.3.40.0080.04212.03
5.3.30.0080.03611.98
5.3.20.0070.04011.76
5.3.10.0040.03711.73
5.3.00.0100.03711.72
5.2.170.0050.0349.22
5.2.160.0070.0319.22
5.2.150.0060.0309.22
5.2.140.0040.0329.22
5.2.130.0070.0289.17
5.2.120.0050.0329.18
5.2.110.0050.0299.18
5.2.100.0040.0309.18
5.2.90.0060.0299.17
5.2.80.0040.0359.17
5.2.70.0040.0359.16
5.2.60.0030.0369.13
5.2.50.0100.0269.10
5.2.40.0080.0279.07
5.2.30.0060.0369.04
5.2.20.0120.0289.03
5.2.10.0140.0238.93
5.2.00.0020.0378.80
5.1.60.0070.0228.09
5.1.50.0030.0318.08
5.1.40.0020.0318.07
5.1.30.0080.0268.41
5.1.20.0080.0288.44
5.1.10.0060.0258.16
5.1.00.0050.0248.16
5.0.50.0030.0206.64
5.0.40.0010.0216.50
5.0.30.0040.0306.31
5.0.20.0040.0216.28
5.0.10.0030.0226.25
5.0.00.0040.0356.25
4.4.90.0040.0174.78
4.4.80.0040.0174.75
4.4.70.0040.0174.75
4.4.60.0040.0184.76
4.4.50.0050.0164.77
4.4.40.0040.0294.71
4.4.30.0040.0164.76
4.4.20.0020.0184.84
4.4.10.0020.0194.85
4.4.00.0000.0304.76
4.3.110.0020.0204.67
4.3.100.0030.0164.66
4.3.90.0010.0174.64
4.3.80.0050.0234.58
4.3.70.0040.0184.63
4.3.60.0030.0204.63
4.3.50.0000.0184.63
4.3.40.0050.0264.54
4.3.30.0020.0233.30
4.3.20.0020.0233.28
4.3.10.0030.0203.23
4.3.00.0030.01743.84