3v4l.org

run code in 200+ php & hhvm versions
<?php $o = new stdclass(); $o->test = 1; echo $o->test;

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).
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.3.10.0090.00316.29
7.3.00.0040.00716.45
7.2.130.0060.00616.88
7.2.120.0060.00616.50
7.2.110.0030.00716.80
7.2.100.0050.00516.30
7.2.90.0170.00616.13
7.2.80.0100.00516.48
7.2.70.0060.00616.58
7.2.60.0200.01616.88
7.2.50.0210.00816.61
7.2.40.0140.00816.13
7.2.30.0070.01416.65
7.2.20.0150.00716.26
7.2.10.0060.00916.75
7.2.00.0050.00917.98
7.1.250.0110.00715.49
7.1.100.0030.01318.20
7.1.70.0000.01116.76
7.1.60.0090.00919.40
7.1.50.0150.00616.86
7.1.00.0000.07322.45
7.0.200.0080.00016.71
7.0.140.0030.07721.98
7.0.60.0170.03321.77
7.0.50.0130.03022.07
7.0.40.0130.03020.04
7.0.30.0130.03020.04
7.0.20.0130.02720.18
7.0.10.0100.03020.05
7.0.00.0170.02720.18
5.6.280.0030.07020.99
5.6.210.0070.04320.69
5.6.200.0100.04021.05
5.6.190.0100.04020.99
5.6.180.0070.05020.90
5.6.170.0100.03721.07
5.6.160.0130.04321.12
5.6.150.0070.03321.14
5.6.140.0070.03721.11
5.6.130.0070.03320.98
5.6.120.0030.03720.98
5.6.110.0100.04320.98
5.6.100.0130.02721.00
5.6.90.0070.03720.99
5.6.80.0030.05020.40
5.6.70.0070.06320.27
5.6.60.0030.05320.38
5.6.50.0070.06720.43
5.6.40.0070.07020.39
5.6.30.0070.06720.50
5.6.20.0000.07720.47
5.6.10.0070.06720.50
5.6.00.0070.07720.36
5.5.350.0100.04020.36
5.5.340.0100.04020.96
5.5.330.0100.05020.82
5.5.320.0100.04320.68
5.5.310.0030.05320.89
5.5.300.0070.03720.96
5.5.290.0070.03320.76
5.5.280.0130.03020.84
5.5.270.0030.03720.79
5.5.260.0130.04320.89
5.5.250.0000.08320.49
5.5.240.0000.08320.15
5.5.230.0070.08320.18
5.5.220.0000.07020.14
5.5.210.0070.06320.25
5.5.200.0000.06720.09
5.5.190.0000.08720.10
5.5.180.0000.08320.14
5.5.160.0030.06720.00
5.5.150.0070.07320.00
5.5.140.0070.07720.29
5.5.130.0000.07020.07
5.5.120.0070.07020.23
5.5.110.0030.07720.14
5.5.100.0000.08320.05
5.5.90.0030.06720.10
5.5.80.0100.07320.07
5.5.70.0030.08020.09
5.5.60.0070.07319.96
5.5.50.0100.06019.88
5.5.40.0030.07720.09
5.5.30.0000.08319.87
5.5.20.0070.05020.19
5.5.10.0070.07020.05
5.5.00.0000.08320.17
5.4.450.0200.03319.34
5.4.440.0030.03719.49
5.4.430.0030.03319.38
5.4.420.0100.03019.33
5.4.410.0100.04019.09
5.4.400.0070.06719.01
5.4.390.0030.07719.19
5.4.380.0030.05319.17
5.4.370.0100.06018.97
5.4.360.0000.08319.00
5.4.350.0070.06318.85
5.4.340.0030.07018.97
5.4.320.0100.07719.07
5.4.310.0030.07719.07
5.4.300.0030.05318.94
5.4.290.0000.07718.86
5.4.280.0030.07718.92
5.4.270.0070.06718.94
5.4.260.0000.08319.05
5.4.250.0030.07719.21
5.4.240.0030.06318.98
5.4.230.0030.07718.89
5.4.220.0070.06719.16
5.4.210.0030.06319.09
5.4.200.0030.06319.00
5.4.190.0070.06018.95
5.4.180.0070.07318.99
5.4.170.0200.06318.98
5.4.160.0070.06019.17
5.4.150.0030.06719.03
5.4.140.0070.06316.29
5.4.130.0030.07016.11
5.4.120.0000.07316.30
5.4.110.0000.06016.32
5.4.100.0030.06716.48
5.4.90.0130.05016.22
5.4.80.0000.06316.17
5.4.70.0070.06316.23
5.4.60.0100.06316.18
5.4.50.0000.07316.18
5.4.40.0030.06716.23
5.4.30.0100.06016.50
5.4.20.0070.06316.50
5.4.10.0070.06316.21
5.4.00.0070.05315.66
5.3.290.0000.05314.58
5.3.280.0030.06314.38
5.3.270.0030.08014.44
5.3.260.0030.07714.51
5.3.250.0030.07314.50
5.3.240.0030.06714.39
5.3.230.0030.07314.44
5.3.220.0070.07014.51
5.3.210.0000.07014.54
5.3.200.0030.07014.51
5.3.190.0070.06714.41
5.3.180.0030.07014.39
5.3.170.0070.07314.47
5.3.160.0070.06714.38
5.3.150.0070.05314.54
5.3.140.0100.06314.49
5.3.130.0030.07714.46
5.3.120.0000.08014.52
5.3.110.0000.07014.48
5.3.100.0000.07313.98
5.3.90.0100.06713.96
5.3.80.0030.07313.96
5.3.70.0000.06313.96
5.3.60.0100.06313.94
5.3.50.0030.06313.87
5.3.40.0070.06013.91
5.3.30.0030.06013.84
5.3.20.0030.07313.49
5.3.10.0070.04713.60
5.3.00.0030.06013.56
5.2.170.0030.05310.93
5.2.160.0000.06311.06
5.2.150.0030.06011.08
5.2.140.0000.05310.93
5.2.130.0000.06311.07
5.2.120.0000.06310.88
5.2.110.0070.05311.04
5.2.100.0100.07011.09
5.2.90.0000.03011.13
5.2.80.0000.06011.01
5.2.70.0030.03711.09
5.2.60.0070.02711.07
5.2.50.0030.04710.99
5.2.40.0000.04310.96
5.2.30.0070.02310.88
5.2.20.0070.02310.94
5.2.10.0000.03310.93
5.2.00.0000.04710.79
5.1.60.0070.01310.07
5.1.50.0030.0439.97
5.1.40.0030.0539.82
5.1.30.0000.05710.40
5.1.20.0030.05310.34
5.1.10.0070.05310.16
5.1.00.0070.05010.14
5.0.50.0030.0439.82
5.0.40.0000.0409.82
5.0.30.0070.0609.82
5.0.20.0000.0409.82
5.0.10.0030.0409.82
5.0.00.0030.0579.82
4.4.90.0000.0139.82
4.4.80.0000.0309.82
4.4.70.0000.0179.82
4.4.60.0030.0139.82
4.4.50.0000.0379.82
4.4.40.0000.0309.82
4.4.30.0000.0379.82
4.4.20.0000.0339.82
4.4.10.0000.0339.82
4.4.00.0000.0579.82
4.3.110.0000.0379.82
4.3.100.0000.0339.82
4.3.90.0030.0239.82
4.3.80.0000.0539.82
4.3.70.0030.0309.82
4.3.60.0000.0379.82
4.3.50.0030.0339.82
4.3.40.0000.0509.82
4.3.30.0000.0309.82
4.3.20.0000.0379.82
4.3.10.0000.0379.82
4.3.00.0070.0309.82