3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php array_keys([]);
based on jSIOv

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.0070.00719.28
7.1.100.0030.00717.97
7.1.70.0000.00816.82
7.1.60.0110.01419.50
7.1.50.0170.02134.82
7.1.00.0000.08022.31
7.0.200.0280.00414.76
7.0.140.0030.07322.12
7.0.60.0100.07720.00
7.0.50.0100.07717.86
7.0.40.0030.04720.01
7.0.30.0200.03720.15
7.0.20.0300.06720.00
7.0.10.0300.04720.18
7.0.00.0030.08020.12
5.6.280.0030.07320.90
5.6.210.0000.04720.68
5.6.200.0130.05318.17
5.6.190.0030.06320.31
5.6.180.0230.06720.24
5.6.170.0300.07020.41
5.6.160.0000.04720.50
5.6.150.0030.05018.20
5.6.140.0100.04718.18
5.6.130.0100.03318.21
5.6.120.0130.05321.04
5.6.110.0130.07721.13
5.6.100.0070.07321.13
5.6.90.0070.04721.09
5.6.80.0070.05720.37
5.6.70.0430.06720.51
5.5.350.0270.06320.42
5.5.340.0130.06317.98
5.5.330.0170.08020.48
5.5.320.0070.05720.15
5.5.310.0300.05020.41
5.5.300.0170.06718.02
5.5.290.0000.05717.95
5.5.280.0030.06720.68
5.5.270.0030.04320.78
5.5.260.0030.08720.75
5.5.250.0100.05320.57
5.5.240.0100.07320.15
5.4.450.3230.04019.46
5.4.440.3100.03319.11
5.4.430.3630.03719.54
5.4.420.3330.04019.21
5.4.410.3370.03319.00
5.4.400.2970.04319.25
5.4.390.3100.04318.91
5.4.380.3270.04019.09
5.4.370.3530.04319.14
5.4.360.3170.05018.93
5.4.350.3070.03718.90
5.4.340.2830.04318.93
5.4.320.3500.03719.13
5.4.310.3570.03718.81
5.4.300.3330.03719.08
5.4.290.3300.03719.13
5.4.280.3070.03718.91
5.4.270.3200.04719.09
5.4.260.3330.03718.82
5.4.250.3030.03719.13
5.4.240.3100.03319.08
5.4.230.3330.03019.21
5.4.220.3430.03319.05
5.4.210.3230.03319.11
5.4.200.3330.04019.21
5.4.190.3170.03019.05
5.4.180.3300.03019.07
5.4.170.3330.03319.05
5.4.160.3430.04019.13
5.4.150.3370.03318.89
5.4.140.3230.04016.45
5.4.130.3570.03316.34
5.4.120.3330.03316.26
5.4.110.3300.03716.20
5.4.100.3300.03716.30
5.4.90.3300.03016.41
5.4.80.3000.03716.23
5.4.70.3570.03016.33
5.4.60.3300.03716.45
5.4.50.3870.03716.38
5.4.40.3470.03016.36
5.4.30.1630.03716.31
5.4.20.2470.04016.40
5.4.10.1930.03716.43
5.4.00.2470.02715.57
5.3.290.2630.03014.71
5.3.280.2830.04014.43
5.3.270.2730.03314.66
5.3.260.2800.03714.55
5.3.250.2470.03014.56
5.3.240.2700.04014.58
5.3.230.2530.04014.64
5.3.220.2700.03714.62
5.3.210.2730.03314.55
5.3.200.3070.03314.41
5.3.190.2400.04014.41
5.3.180.2600.04014.47
5.3.170.2570.04014.43
5.3.160.2000.03314.63
5.3.150.3430.04714.54
5.3.140.2330.04014.50
5.3.130.3000.03014.39
5.3.120.2900.04014.40
5.3.110.3070.03714.55
5.3.100.2930.04013.97
5.3.90.2530.04014.00
5.3.80.3230.04014.04
5.3.70.4070.02713.81
5.3.60.2870.03713.98
5.3.50.3170.03713.79
5.3.40.2970.03313.88
5.3.30.3230.03313.93
5.3.20.3530.03313.74
5.3.10.3300.03713.68
5.3.00.3300.03713.54
5.2.170.2670.02712.56
5.2.160.2500.02312.56
5.2.150.2570.03012.56
5.2.140.2830.02312.56
5.2.130.2400.03312.56
5.2.120.2470.03012.56
5.2.110.2500.03012.56
5.2.100.2700.03012.56
5.2.90.2700.02012.56
5.2.80.2730.03012.56
5.2.70.2800.02712.56
5.2.60.2430.03012.56
5.2.50.2830.03712.56
5.2.40.2270.03012.56
5.2.30.2270.03012.56
5.2.20.2200.02712.56
5.2.10.2300.02312.56
5.2.00.2100.02712.56
5.1.60.2000.02012.56
5.1.50.2230.03012.56
5.1.40.1770.02712.56
5.1.30.2330.02012.56
5.1.20.2130.03012.56
5.1.10.2270.02312.56
5.1.00.2170.03012.56
5.0.50.1200.02012.56
5.0.40.1200.02712.56
5.0.30.1130.03312.56
5.0.20.1300.02712.56
5.0.10.1170.02012.56
5.0.00.1000.03012.56
4.4.90.1170.02012.56
4.4.80.1130.01312.56
4.4.70.1200.02012.56
4.4.60.1270.01712.56
4.4.50.1030.01712.56
4.4.40.1130.02712.56
4.4.30.0970.01712.56
4.4.20.1100.02012.56
4.4.10.1200.02012.56
4.4.00.1200.02712.56
4.3.110.1100.01712.56
4.3.100.1200.01712.56
4.3.90.0970.01712.56
4.3.80.1200.03312.56
4.3.70.1130.01712.56
4.3.60.1130.01712.56
4.3.50.1230.01712.56
4.3.40.1200.03012.56
4.3.30.0700.01012.56
4.3.20.0570.01712.56
4.3.10.0730.02012.56
4.3.00.0570.01712.56