3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { file_exists('/tmp/wefaklwefhaewfawf'); } catch (EngineException $e) { var_dump($e); }
based on 4WWTD

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.2.60.0030.01016.60
7.2.00.0040.00919.30
7.1.200.0030.00915.79
7.1.100.0140.01115.98
7.1.70.0000.00917.15
7.1.60.0040.02219.50
7.1.50.0120.00916.66
7.1.00.0070.07322.51
7.0.200.0000.00816.46
7.0.140.0100.06722.15
7.0.60.0030.04719.94
7.0.50.0130.07317.66
7.0.40.0170.07720.23
7.0.30.0130.04720.30
7.0.20.0100.04320.12
7.0.10.0030.09020.00
7.0.00.0100.08320.03
5.6.280.0170.06020.91
5.6.210.0030.04020.69
5.6.200.0070.09018.21
5.6.190.0130.07020.39
5.6.180.0000.09020.57
5.6.170.0330.07720.48
5.6.160.0030.05020.33
5.6.150.0130.06318.11
5.6.140.0200.06318.22
5.6.130.0030.09018.21
5.6.120.0100.07320.99
5.6.110.0100.08721.13
5.6.100.0170.07320.96
5.6.90.0070.04021.12
5.6.80.0100.07720.35
5.5.350.1170.07020.30
5.5.340.0130.04017.96
5.5.330.0070.08020.13
5.5.320.0270.03320.18
5.5.310.0330.04020.27
5.5.300.0200.05018.02
5.5.290.0030.08718.02
5.5.280.0000.05020.85
5.5.270.0100.06320.84
5.5.260.0070.05320.66
5.5.250.0170.07720.61
5.5.240.0100.07320.12
5.4.450.0670.06019.48
5.4.440.1100.07719.13
5.4.430.0730.05719.61
5.4.420.1000.06019.27
5.4.410.0800.06019.28
5.4.400.0170.05718.64
5.4.390.0270.06018.61
5.4.380.0100.06718.63
5.4.370.0200.07718.52
5.4.360.0170.07718.63
5.4.350.0300.06318.52
5.4.340.0200.05718.61
5.4.320.0270.05718.77
5.4.310.0200.07318.66
5.4.300.0270.06718.46
5.4.290.0200.06318.68
5.4.280.0100.06018.68
5.4.270.0200.06318.60
5.4.260.0130.06018.52
5.4.250.0230.05018.61
5.4.240.0100.06018.69
5.4.230.0130.06018.51
5.4.220.0230.07018.59
5.4.210.0130.07318.57
5.4.200.0130.06016.65
5.4.190.0200.05018.66
5.4.180.0170.06018.72
5.4.170.0170.05718.69
5.4.160.0270.05018.54
5.4.150.0230.04718.59
5.4.140.0200.05316.27
5.4.130.0200.04716.35
5.4.120.0230.05316.22
5.4.110.0130.05716.04
5.4.100.0070.06716.16
5.4.90.0230.06716.35
5.4.80.0170.07016.20
5.4.70.0230.05316.14
5.4.60.0130.05716.27
5.4.50.0300.04016.19
5.4.40.0170.05316.11
5.4.30.0230.04016.13
5.4.20.0230.07016.22
5.4.10.0300.05716.10
5.4.00.0170.05015.61
5.3.290.0370.04314.57
5.3.280.0230.05014.55
5.3.270.0200.06714.61
5.3.260.0300.06314.58
5.3.250.0330.05714.55
5.3.240.0330.05714.63
5.3.230.0200.05014.55
5.3.220.0330.05714.56
5.3.210.0300.06314.63
5.3.200.0270.06014.54
5.3.190.0300.05714.66
5.3.180.0130.08014.56
5.3.170.0230.07014.63
5.3.160.0170.07314.47
5.3.150.0230.05014.49
5.3.140.0170.05014.53
5.3.130.0170.07714.52
5.3.120.0270.06714.54
5.3.110.0200.07314.61
5.3.100.0200.05313.99
5.3.90.0100.06714.00
5.3.80.0270.04714.01
5.3.70.0300.04313.99
5.3.60.0270.05713.99
5.3.50.0170.05313.89
5.3.40.0200.05713.87
5.3.30.0230.04313.85
5.3.20.0170.05013.68
5.3.10.0200.05013.60
5.3.00.0130.05313.63
5.2.170.0230.04011.09
5.2.160.0130.04711.11
5.2.150.0270.05011.17
5.2.140.0130.05711.19
5.2.130.0170.04311.14
5.2.120.0100.04311.13
5.2.110.0100.04311.09
5.2.100.0100.04311.16
5.2.90.0100.05311.16
5.2.80.0130.04711.05
5.2.70.0130.05011.14
5.2.60.0170.03711.03
5.2.50.0130.04711.06
5.2.40.0130.04310.92
5.2.30.0130.05010.90
5.2.20.0170.04011.09
5.2.10.0230.03011.03
5.2.00.0170.03710.74
5.1.60.0170.0339.95
5.1.50.0130.03710.12
5.1.40.0100.0479.94
5.1.30.0200.04010.29
5.1.20.0230.04310.36
5.1.10.0170.04010.08
5.1.00.0100.03710.05
5.0.50.0070.0338.59
5.0.40.0100.0278.42
5.0.30.0170.0378.29
5.0.20.0070.0308.36
5.0.10.0070.0308.25
5.0.00.0170.0408.17
4.4.90.0070.0277.02
4.4.80.0130.0237.02
4.4.70.0030.0337.02
4.4.60.0070.0307.02
4.4.50.0070.0277.02
4.4.40.0100.0337.02
4.4.30.0130.0237.02
4.4.20.0100.0277.02
4.4.10.0100.0277.02
4.4.00.0100.0407.02
4.3.110.0130.0237.02
4.3.100.0130.0207.02
4.3.90.0100.0237.02
4.3.80.0100.0307.02
4.3.70.0100.0177.02
4.3.60.0030.0237.02
4.3.50.0070.0237.02
4.3.40.0070.0337.02
4.3.30.0030.0307.02
4.3.20.0130.0207.02
4.3.10.0100.0237.02
4.3.00.0100.0236.58