3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(spl_classes());

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.20.0380.00314.45
7.3.10.0240.00815.43
7.3.00.0260.00615.46
7.2.150.0610.00714.62
7.2.140.0320.01014.65
7.2.130.0160.01315.53
7.2.120.0180.00515.60
7.2.110.0240.00715.69
7.2.100.0380.00515.49
7.2.90.0290.00415.71
7.2.80.0200.00515.63
7.2.70.0260.01015.57
7.2.60.0170.01215.98
7.2.50.0150.01315.73
7.2.40.0150.00915.48
7.2.30.0210.00515.66
7.2.20.0200.00515.69
7.2.10.0260.00915.78
7.2.00.0130.01016.83
7.1.250.0170.01114.68
7.1.240.0480.00613.49
7.1.230.0530.00413.32
7.1.220.0350.00613.43
7.1.210.0480.00913.78
7.1.200.0260.00714.71
7.1.190.0480.01013.45
7.1.180.0540.01413.68
7.1.170.0430.00613.65
7.1.160.0300.01013.61
7.1.150.0570.00613.75
7.1.140.0610.00313.75
7.1.130.0450.00613.72
7.1.120.0420.00913.73
7.1.110.0370.00313.84
7.1.100.0230.01415.97
7.1.90.0490.00013.80
7.1.80.0490.00013.87
7.1.70.0340.00515.24
7.1.60.0350.01316.83
7.1.50.0390.00815.12
7.1.40.0420.01013.71
7.1.30.0530.00613.38
7.1.20.0620.00313.47
7.1.10.0440.00913.49
7.1.00.0280.04518.06
7.0.330.0330.00313.14
7.0.320.0560.00313.16
7.0.310.0520.00613.32
7.0.300.0570.00713.53
7.0.290.0440.00713.35
7.0.280.0480.00413.25
7.0.270.0600.01013.30
7.0.260.0250.01113.09
7.0.250.0460.00413.21
7.0.240.0380.00913.23
7.0.230.0870.00413.47
7.0.220.0430.01113.11
7.0.210.0670.00313.29
7.0.200.0320.00914.96
7.0.190.0460.00613.14
7.0.180.0560.01313.26
7.0.170.0410.01012.99
7.0.160.0540.01013.59
7.0.150.0460.00913.25
7.0.140.0270.04117.64
7.0.130.0400.00313.02
7.0.120.0380.01713.10
7.0.110.0360.00713.19
7.0.100.0220.02816.50
7.0.90.0230.02316.50
7.0.80.0260.02316.71
7.0.70.0190.02316.52
7.0.60.0390.01816.64
7.0.50.0260.02816.91
7.0.40.0450.02716.73
7.0.30.0260.02816.76
7.0.20.0320.03816.68
7.0.10.0230.04116.75
7.0.00.0320.04116.83
hhvm-3.22.00.1480.17090.40
hhvm-3.21.30.1220.16390.48
hhvm-3.21.00.1420.15689.58
hhvm-3.20.20.1410.16989.92
hhvm-3.19.20.1180.15889.63
hhvm-3.18.50.0940.18987.83
hhvm-3.18.40.1030.18388.09
hhvm-3.17.30.0550.17887.49
hhvm-3.15.40.0660.16384.95
hhvm-3.13.20.1190.13296.21
hhvm-3.12.140.0960.16794.94
hhvm-3.11.10.1310.16587.50
hhvm-3.10.10.0970.17684.00
5.6.380.0160.01214.20
5.6.370.0250.00914.16
5.6.360.0150.01214.22
5.6.350.0210.01514.31
5.6.340.0170.00613.92
5.6.330.0150.01114.35
5.6.320.0130.01714.18
5.6.310.0160.01214.38
5.6.300.0170.01013.85
5.6.290.0180.00714.02
5.6.280.0150.03317.54
5.6.270.0180.01314.28
5.6.260.0140.01413.89
5.6.250.0180.02317.40
5.6.240.0110.02917.32
5.6.230.0110.02217.44
5.6.220.0110.02317.34
5.6.210.0120.01917.31
5.6.200.0070.02617.48
5.6.190.0110.02517.52
5.6.180.0130.03517.60
5.6.170.0120.03217.46
5.6.160.0140.05017.47
5.6.150.0160.04617.61
5.6.140.0120.04417.64
5.6.130.0170.04317.49
5.6.120.0070.04517.53
5.6.110.0130.04317.52
5.6.100.0100.04617.58
5.6.90.0150.03817.57
5.6.80.0160.04517.16
5.6.70.0120.04217.20
5.6.60.0160.04017.21
5.6.50.0100.03717.13
5.6.40.0090.02417.29
5.6.30.0080.04317.11
5.6.20.0040.05117.14
5.6.10.0070.04017.12
5.6.00.0080.04516.99
5.5.380.0070.02615.52
5.5.370.0020.02915.53
5.5.360.0110.02515.67
5.5.350.0120.02915.54
5.5.340.0150.02815.88
5.5.330.0120.01816.01
5.5.320.0110.03015.64
5.5.310.0100.03015.84
5.5.300.0170.02515.91
5.5.290.0170.03615.78
5.5.280.0120.04015.82
5.5.270.0090.05015.95
5.5.260.0100.02915.71
5.5.250.0240.03315.77
5.5.240.0110.04215.38
5.5.230.0100.04315.37
5.5.220.0090.03815.47
5.5.210.0120.04115.36
5.5.200.0120.04115.49
5.5.190.0100.03915.57
5.5.180.0060.04215.43
5.5.170.0090.01110.41
5.5.160.0130.03815.52
5.5.150.0100.03315.46
5.5.140.0110.03815.43
5.5.130.0110.04315.51
5.5.120.0080.04315.56
5.5.110.0100.02815.45
5.5.100.0160.03815.38
5.5.90.0190.03815.28
5.5.80.0100.02315.31
5.5.70.0120.04215.38
5.5.60.0150.03515.38
5.5.50.0100.04015.26
5.5.40.0060.04115.40
5.5.30.0140.03915.49
5.5.20.0080.03115.42
5.5.10.0060.04115.45
5.5.00.0120.02715.42
5.4.450.0100.03215.23
5.4.440.0060.04615.16
5.4.430.0140.03815.10
5.4.420.0130.04415.26
5.4.410.0120.04215.04
5.4.400.0170.03914.94
5.4.390.0130.03814.90
5.4.380.0130.02514.84
5.4.370.0150.03714.86
5.4.360.0100.03814.78
5.4.350.0120.01714.96
5.4.340.0120.03314.85
5.4.330.0140.00410.86
5.4.320.0100.04314.86
5.4.310.0140.04014.77
5.4.300.0090.04214.88
5.4.290.0090.03714.82
5.4.280.0120.03814.85
5.4.270.0150.03314.73
5.4.260.0160.04114.86
5.4.250.0150.03614.96
5.4.240.0190.03114.86
5.4.230.0050.04514.82
5.4.220.0070.04214.85
5.4.210.0080.02514.82
5.4.200.0090.02414.85
5.4.190.0080.04014.72
5.4.180.0020.04614.81
5.4.170.0120.04014.73
5.4.160.0120.03714.97
5.4.150.0060.04314.84
5.4.140.0090.04013.44
5.4.130.0090.02013.55
5.4.120.0130.03613.55
5.4.110.0110.03513.51
5.4.100.0090.02413.49
5.4.90.0050.04613.43
5.4.80.0060.03713.51
5.4.70.0050.02713.63
5.4.60.0110.03613.42
5.4.50.0140.03113.54
5.4.40.0110.03213.63
5.4.30.0110.03813.50
5.4.20.0110.03813.46
5.4.10.0140.03113.60
5.4.00.0150.03713.33
5.3.290.0050.04112.36
5.3.280.0110.02512.42
5.3.270.0100.03712.39
5.3.260.0090.03512.48
5.3.250.0080.04112.43
5.3.240.0080.03412.29
5.3.230.0080.04312.39
5.3.220.0080.03712.39
5.3.210.0070.04612.31
5.3.200.0080.03812.42
5.3.190.0070.03212.41
5.3.180.0110.02712.46
5.3.170.0100.04112.46
5.3.160.0130.03512.38
5.3.150.0130.03612.50
5.3.140.0080.04312.38
5.3.130.0100.04312.44
5.3.120.0080.04612.44
5.3.110.0130.03312.32
5.3.100.0090.03812.12
5.3.90.0060.03912.09
5.3.80.0090.04012.06
5.3.70.0130.03812.06
5.3.60.0120.02312.10
5.3.50.0120.03612.00
5.3.40.0060.04412.02
5.3.30.0100.03911.96
5.3.20.0070.04111.93
5.3.10.0090.03611.85
5.3.00.0060.04011.72
5.2.170.0030.06311.00
5.2.160.0070.05711.13
5.2.150.0000.04311.18
5.2.140.0030.06711.06
5.2.130.0030.06711.02
5.2.120.0000.06311.13
5.2.110.0100.05311.02
5.2.100.0070.06010.95
5.2.90.0030.06010.96
5.2.80.0030.04310.91
5.2.70.0100.05311.08
5.2.60.0030.04310.85
5.2.50.0000.06311.00
5.2.40.0030.05010.99
5.2.30.0130.05311.00
5.2.20.0030.06310.95
5.2.10.0000.06010.89
5.2.00.0100.05310.75
5.1.60.0030.05310.00
5.1.50.0000.0539.98
5.1.40.0000.0479.99
5.1.30.0030.03010.23
5.1.20.0030.05710.30
5.1.10.0030.03310.14
5.1.00.0070.05010.09
5.0.50.0070.0478.83
5.0.40.0030.0478.83
5.0.30.0100.0378.83
5.0.20.0000.0438.83
5.0.10.0030.0408.83
5.0.00.0030.0638.83
4.4.90.0000.0378.83
4.4.80.0000.0378.83
4.4.70.0000.0378.83
4.4.60.0000.0408.83
4.4.50.0000.0378.83
4.4.40.0000.0338.83
4.4.30.0000.0278.83
4.4.20.0000.0338.83
4.4.10.0030.0378.83
4.4.00.0030.0538.83
4.3.110.0130.0238.83
4.3.100.0070.0308.83
4.3.90.0000.0338.83
4.3.80.0000.0538.83
4.3.70.0030.0308.83
4.3.60.0000.0378.83
4.3.50.0030.0338.83
4.3.40.0100.0378.83
4.3.30.0000.0338.83
4.3.20.0000.0378.83
4.3.10.0000.0408.83
4.3.00.0030.0338.83