3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(ini_get('allow_url_fopen') );

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.0rc40.0150.00398.97
7.3.0rc30.0250.00716.30
7.3.0beta10.0000.00612.66
7.3.0alpha10.0100.00012.62
7.2.60.0070.00716.66
7.1.200.0000.01015.68
7.1.70.0040.00417.16
7.1.60.0140.01119.82
7.1.50.0100.00616.77
7.1.00.0000.08022.44
7.0.200.0030.00616.72
7.0.140.0000.07721.99
7.0.60.0270.07720.06
7.0.50.0030.04317.80
7.0.40.0030.04320.19
7.0.30.0470.06320.00
7.0.20.0270.04320.12
7.0.10.0030.07020.13
7.0.00.0170.07720.17
5.6.280.0000.07321.14
5.6.210.0130.07320.61
5.6.200.0030.05318.12
5.6.190.0030.06720.63
5.6.180.0200.04020.41
5.6.170.0230.04320.44
5.6.160.0100.06320.49
5.6.150.0030.06018.09
5.6.140.0030.06718.18
5.6.130.0030.04318.12
5.6.120.0000.04320.96
5.6.110.0100.07020.88
5.6.100.0130.07720.97
5.6.90.0270.05020.98
5.6.80.0070.08020.34
5.5.350.0270.07320.41
5.5.340.0070.08718.01
5.5.330.0030.04320.25
5.5.320.0330.05320.31
5.5.310.0230.04720.21
5.5.300.0030.07717.98
5.5.290.0070.03717.98
5.5.280.0100.04020.72
5.5.270.0100.05720.85
5.5.260.0170.07320.86
5.5.250.0130.08020.60
5.5.240.0200.07320.18
5.4.450.0770.06019.49
5.4.440.1070.06719.48
5.4.430.0970.05719.55
5.4.420.1270.07319.57
5.4.410.0970.06019.11
5.4.400.0270.05318.84
5.4.390.0330.05318.59
5.4.380.0330.05018.49
5.4.370.0230.04018.64
5.4.360.0200.05718.56
5.4.350.0060.03511.97
5.4.340.0080.03311.97
5.4.320.0090.03712.45
5.4.310.0040.03912.45
5.4.300.0070.03612.45
5.4.290.0050.03812.45
5.4.280.0050.03612.34
5.4.270.0060.03812.34
5.4.260.0100.05018.90
5.4.250.0030.05718.66
5.4.240.0170.04318.69
5.4.230.0170.04319.00
5.4.220.0100.05718.89
5.4.210.0130.07018.88
5.4.200.0130.05318.73
5.4.190.0130.05018.88
5.4.180.0000.06018.70
5.4.170.0070.06718.70
5.4.160.0170.05718.83
5.4.150.0100.05319.02
5.4.140.0070.05316.25
5.4.130.0130.04316.48
5.4.120.0170.04316.26
5.4.110.0070.05716.39
5.4.100.0070.05016.43
5.4.90.0030.05016.35
5.4.80.0000.05316.38
5.4.70.0130.04316.34
5.4.60.0070.04716.47
5.4.50.0100.04316.37
5.4.40.0030.05316.52
5.4.30.0170.04016.50
5.4.20.0070.05016.38
5.4.10.0070.05316.36
5.4.00.0030.05015.69
5.3.290.0100.04212.80
5.3.280.0130.04314.47
5.3.270.0100.05014.47
5.3.260.0030.08314.61
5.3.250.0100.04714.44
5.3.240.0030.05314.63
5.3.230.0030.05714.74
5.3.220.0100.04714.61
5.3.210.0070.06014.43
5.3.200.0030.05314.56
5.3.190.0100.04714.43
5.3.180.0130.04314.39
5.3.170.0130.04314.65
5.3.160.0170.04014.57
5.3.150.0030.05314.47
5.3.140.0130.05014.70
5.3.130.0070.05314.55
5.3.120.0100.05014.56
5.3.110.0030.05314.41
5.3.100.0000.05713.87
5.3.90.0130.06314.00
5.3.80.0030.05313.86
5.3.70.0000.05714.16
5.3.60.0030.05013.77
5.3.50.0070.04713.81
5.3.40.0070.05013.96
5.3.30.0130.06313.82
5.3.20.0100.04713.52
5.3.10.0130.04013.42
5.3.00.0070.04713.54
5.2.170.0100.03711.23
5.2.160.0000.04711.25
5.2.150.0130.03711.14
5.2.140.0030.06011.16
5.2.130.0130.05011.00
5.2.120.0030.05711.00
5.2.110.0030.04011.01
5.2.100.0030.04011.09
5.2.90.0030.04011.02
5.2.80.0000.04311.00
5.2.70.0030.04010.85
5.2.60.0100.05011.04
5.2.50.0070.04711.12
5.2.40.0070.03710.74
5.2.30.0130.03010.73
5.2.20.0100.04010.87
5.2.10.0070.03710.84
5.2.00.0030.04310.79
5.1.60.0070.0309.93
5.1.50.0070.0439.88
5.1.40.0070.03010.12
5.1.30.0030.03710.09
5.1.20.0100.03010.25
5.1.10.0070.03710.29
5.1.00.0030.0439.98
5.0.50.0030.0278.63
5.0.40.0070.0238.31
5.0.30.0030.0408.08
5.0.20.0070.0238.27
5.0.10.0070.0237.99
5.0.00.0030.0408.12
4.4.90.0000.0237.43
4.4.80.0000.0237.43
4.4.70.0030.0207.43
4.4.60.0000.0237.43
4.4.50.0030.0207.43
4.4.40.0100.0237.43
4.4.30.0070.0207.43
4.4.20.0030.0207.43
4.4.10.0030.0207.43
4.4.00.0030.0337.43
4.3.110.0070.0177.43
4.3.100.0030.0207.43
4.3.90.0000.0237.43
4.3.80.0070.0437.43
4.3.70.0030.0277.43
4.3.60.0030.0207.45
4.3.50.0030.0307.45
4.3.40.0000.0437.45
4.3.30.0000.0207.45
4.3.20.0000.0237.45
4.3.10.0030.0207.45
4.3.00.0070.0236.78