3v4l.org

run code in 200+ php & hhvm versions
<?php error_reporting(~0); $foo = new StdClass(); $foo->bar = '1234';

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.4.0beta40.0070.00714.87
7.4.0beta20.0070.00714.92
7.4.0beta10.0050.00814.92
7.4.0alpha30.0100.00514.84
7.4.0alpha20.0080.00814.91
7.4.0alpha10.0080.00714.90
7.3.90.0060.00614.90
7.3.80.0030.01014.75
7.3.70.0130.00614.72
7.3.60.0110.00414.71
7.3.50.0100.00914.87
7.3.40.0060.01014.60
7.3.30.0050.01114.52
7.3.20.0090.00914.68
7.3.10.0040.01214.54
7.3.00.0130.00714.54
7.2.220.0030.01014.75
7.2.210.0090.00514.72
7.2.200.0030.01314.68
7.2.190.0070.00914.97
7.2.180.0120.00314.76
7.2.170.0080.01014.87
7.2.160.0090.00614.86
7.2.150.0130.00714.93
7.2.140.0100.01014.99
7.2.130.0120.00714.93
7.2.120.0150.00514.79
7.2.110.0090.01214.81
7.2.100.0180.00614.93
7.2.90.0100.01114.88
7.2.80.0320.00914.73
7.2.70.0360.01314.99
7.2.60.1230.00914.93
7.2.50.0320.01014.92
7.2.40.0250.00914.90
7.2.30.0210.00814.94
7.2.20.0170.01316.75
7.2.10.0210.01016.07
7.2.00.0180.01016.79
7.1.320.0110.00413.71
7.1.310.0100.00913.72
7.1.300.0130.00713.80
7.1.290.0140.00813.77
7.1.280.0110.00813.76
7.1.270.0050.01113.50
7.1.260.0170.00313.81
7.1.250.0090.00813.69
7.1.240.0100.00913.69
7.1.230.0130.00913.73
7.1.220.0220.00413.82
7.1.210.0120.01013.88
7.1.200.0230.00713.76
7.1.190.0370.00413.76
7.1.180.0420.00913.77
7.1.170.0410.00913.65
7.1.160.0250.00813.63
7.1.150.0210.00913.68
7.1.140.0210.00814.93
7.1.130.0190.01015.00
7.1.120.0190.00815.61
7.1.110.0170.00815.36
7.1.100.0360.00815.39
7.1.90.0230.00815.39
7.1.80.0180.00815.38
7.1.70.0140.00714.98
7.1.60.0260.00925.87
7.1.50.0200.01225.63
7.1.40.0240.01125.66
7.1.30.0300.00725.57
7.1.20.0250.00725.63
7.1.10.0180.00914.79
7.1.00.0130.01014.91
7.0.330.0210.00413.25
7.0.320.0160.00813.24
7.0.310.0300.00413.46
7.0.300.0300.00713.50
7.0.290.0280.00613.41
7.0.280.0110.01213.53
7.0.270.0220.00914.66
7.0.260.0160.01015.15
7.0.250.0200.00715.09
7.0.240.0190.00815.21
7.0.230.0160.01115.10
7.0.220.0150.01215.09
7.0.210.0190.00514.76
7.0.200.0170.00914.71
7.0.190.0540.01014.79
7.0.180.0200.01114.56
7.0.170.0130.01014.57
7.0.160.0160.00814.61
7.0.150.0180.00814.45
7.0.140.0190.00814.65
7.0.130.0180.00714.63
7.0.120.0190.00714.61
7.0.110.0220.00814.54
7.0.100.0220.00614.57
7.0.90.0230.00814.68
7.0.80.0170.00914.58
7.0.70.0210.00814.86
7.0.60.0260.01014.84
7.0.50.0200.00815.08
7.0.40.0200.00614.67
7.0.30.0230.01014.73
7.0.20.0200.00814.64
7.0.10.0170.00814.64
7.0.00.0270.00714.61
hhvm-3.22.00.1030.18090.78
hhvm-3.21.30.0790.19390.24
hhvm-3.21.00.1360.20190.27
hhvm-3.20.20.1140.19890.59
hhvm-3.19.20.1120.19789.85
hhvm-3.18.50.0860.19588.85
hhvm-3.18.40.1160.20588.54
hhvm-3.17.30.0900.17587.74
hhvm-3.15.40.0850.18385.36
hhvm-3.13.20.1210.20596.67
hhvm-3.12.140.1110.19495.56
hhvm-3.11.10.1230.18487.76
hhvm-3.10.10.1020.18584.68
5.6.400.0050.01214.29
5.6.390.0170.00714.13
5.6.380.0110.00914.21
5.6.370.0190.00514.09
5.6.360.0150.00714.37
5.6.350.0140.00714.16
5.6.340.0120.01014.28
5.6.330.0100.01414.29
5.6.320.0150.00714.42
5.6.310.0100.01214.34
5.6.300.0120.03116.88
5.6.290.0130.02616.94
5.6.280.0160.02416.79
5.6.270.0110.02816.90
5.6.260.0090.03316.93
5.6.250.0120.02816.95
5.6.240.0130.03016.90
5.6.230.0110.02916.94
5.6.220.0120.02916.95
5.6.210.0160.02416.85
5.6.200.0120.03416.98
5.6.190.0150.02716.98
5.6.180.0100.02816.85
5.6.170.0140.02617.00
5.6.160.0100.03116.82
5.6.150.0170.02816.79
5.6.140.0120.03017.00
5.6.130.0130.02716.85
5.6.120.0110.02816.80
5.6.110.0140.02816.90
5.6.100.0070.03416.90
5.6.90.0110.02716.98
5.6.80.0120.03016.70
5.6.70.0110.03116.63
5.6.60.0120.02416.62
5.6.50.0110.03016.51
5.6.40.0130.02416.57
5.6.30.0150.02716.52
5.6.20.0150.02216.60
5.6.10.0110.02516.64
5.6.00.0160.02516.61
5.5.380.0130.02314.86
5.5.370.0090.03014.87
5.5.360.0140.02414.84
5.5.350.0150.02215.00
5.5.340.0100.02814.96
5.5.330.0110.02615.08
5.5.320.0130.02415.15
5.5.310.0120.02915.27
5.5.300.0100.02915.02
5.5.290.0140.03415.12
5.5.280.0090.02915.01
5.5.270.0130.02415.07
5.5.260.0140.02914.98
5.5.250.0110.02414.95
5.5.240.0110.02514.82
5.5.230.0100.02514.81
5.5.220.0100.02514.71
5.5.210.0130.02714.78
5.5.200.0140.02414.66
5.5.190.0150.02214.81
5.5.180.0130.03114.80
5.5.170.0080.01314.16
5.5.160.0120.02514.80
5.5.150.0110.03014.78
5.5.140.0080.02714.79
5.5.130.0120.02614.78
5.5.120.0100.02614.80
5.5.110.0160.02214.83
5.5.100.0110.02914.71
5.5.90.0130.02314.65
5.5.80.0100.02514.64
5.5.70.0100.03014.77
5.5.60.0120.02814.72
5.5.50.0120.02914.75
5.5.40.0080.02714.69
5.5.30.0100.02414.70
5.5.20.0100.02614.64
5.5.10.0140.02714.71
5.5.00.0110.02414.73
5.4.450.0140.02814.56
5.4.440.0090.02614.59
5.4.430.0100.03114.64
5.4.420.0110.02314.66
5.4.410.0100.02914.61
5.4.400.0120.02314.57
5.4.390.0090.02914.49
5.4.380.0090.02414.59
5.4.370.0090.02914.50
5.4.360.0110.02314.50
5.4.350.0100.02314.58
5.4.340.0120.02114.48
5.4.330.0070.00711.90
5.4.320.0140.02514.44
5.4.310.0070.02614.48
5.4.300.0100.02714.59
5.4.290.0110.02414.44
5.4.280.0120.02914.52
5.4.270.0090.02614.50
5.4.260.0140.02314.50
5.4.250.0120.02414.55
5.4.240.0120.02214.57
5.4.230.0120.02614.46
5.4.220.0120.02514.52
5.4.210.0100.02814.50
5.4.200.0130.02114.55
5.4.190.0110.02214.47
5.4.180.0100.02514.58
5.4.170.0100.02614.44
5.4.160.0110.02414.46
5.4.150.0100.02414.48
5.4.140.0130.02413.53
5.4.130.0080.02413.51
5.4.120.0100.02513.47
5.4.110.0100.02613.48
5.4.100.0120.02313.50
5.4.90.0070.02413.46
5.4.80.0080.02713.50
5.4.70.0080.03013.39
5.4.60.0100.02613.46
5.4.50.0090.02513.40
5.4.40.0070.02413.50
5.4.30.0090.02213.42
5.4.20.0090.02113.48
5.4.10.0120.02213.46
5.4.00.0090.02713.23
5.3.290.0070.02712.79
5.3.280.0120.02012.65
5.3.270.0120.02312.66
5.3.260.0100.02612.69
5.3.250.0100.02312.73
5.3.240.0100.02212.68
5.3.230.0090.02312.74
5.3.220.0100.02612.67
5.3.210.0110.02312.64
5.3.200.0100.02612.63
5.3.190.0080.02312.66
5.3.180.0110.02412.66
5.3.170.0100.02412.67
5.3.160.0090.02512.70
5.3.150.0110.02112.66
5.3.140.0090.02212.64
5.3.130.0090.02612.69
5.3.120.0090.02212.68
5.3.110.0080.02612.69
5.3.100.0090.02612.35
5.3.90.0090.02412.46
5.3.80.0090.02512.43
5.3.70.0070.02212.48
5.3.60.0050.02912.48
5.3.50.0090.02512.44
5.3.40.0090.02412.37
5.3.30.0100.02112.36
5.3.20.0060.02412.30
5.3.10.0110.02012.23
5.3.00.0080.02312.26
5.2.170.0060.02311.02
5.2.160.0040.02411.13
5.2.150.0070.02511.15
5.2.140.0070.02511.00
5.2.130.0070.02110.99
5.2.120.0070.01911.06
5.2.110.0070.02111.13
5.2.100.0100.02411.12
5.2.90.0090.02011.11
5.2.80.0060.02710.99
5.2.70.0100.02411.10
5.2.60.0090.02410.93
5.2.50.0050.02911.05
5.2.40.0060.02511.04
5.2.30.0060.02210.96
5.2.20.0120.02110.99
5.2.10.0100.01910.97
5.2.00.0060.02310.93
5.1.60.0060.01810.52
5.1.50.0100.01710.43
5.1.40.0070.01810.55
5.1.30.0080.01810.57
5.1.20.0030.02410.57
5.1.10.0080.01910.57
5.1.00.0080.01710.51
5.0.50.0060.0149.95
5.0.40.0080.0169.95
5.0.30.0020.0249.95
5.0.20.0050.0179.95
5.0.10.0070.0149.95
5.0.00.0070.0209.95
4.4.90.0050.0129.95
4.4.80.0040.0139.95
4.4.70.0030.0159.95
4.4.60.0040.0149.95
4.4.50.0030.0139.95
4.4.40.0060.0199.95
4.4.30.0040.0139.95
4.4.20.0060.0109.95
4.4.10.0050.0119.95
4.4.00.0060.0199.95
4.3.110.0030.0139.95
4.3.100.0050.0119.95
4.3.90.0040.0159.95
4.3.80.0040.0219.95
4.3.70.0050.0129.95
4.3.60.0040.0119.95
4.3.50.0050.0139.95
4.3.40.0020.0229.95
4.3.30.0030.0149.95
4.3.20.0030.0129.95
4.3.10.0020.0149.95
4.3.00.0070.0109.95