3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo <<<EMAILBODY A new comment has been received in the Photo Gallery. At time() by author(): body() EMAILBODY;
based on BFhi5

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.1.60.2020.01532.98
7.1.50.1970.01332.76
7.1.40.2230.01332.53
7.1.30.2950.01032.43
7.1.20.2130.01732.58
7.1.10.1800.01314.33
7.1.00.2120.01514.76
7.0.200.2500.01214.76
7.0.190.2500.01314.48
7.0.180.1980.01014.24
7.0.170.2870.01314.15
7.0.160.2280.01314.13
7.0.150.2250.01214.30
7.0.140.1980.01514.24
7.0.130.2400.01014.37
7.0.120.1980.01514.51
7.0.110.1730.01214.29
7.0.100.1870.01214.25
7.0.90.1750.01314.24
7.0.80.1880.01514.25
7.0.70.1750.01314.29
7.0.60.1900.01214.07
7.0.50.2050.01314.24
7.0.40.2130.01814.55
7.0.30.1950.01014.48
7.0.20.1950.01014.53
7.0.10.2050.01214.32
7.0.00.2130.01014.32
hhvm-3.15.40.0980.25784.44
5.6.300.0270.06520.69
5.6.290.0230.07520.72
5.6.280.0330.07220.81
5.6.270.0200.07220.86
5.6.260.0230.08220.90
5.6.250.0220.07020.93
5.6.240.0200.08220.74
5.6.230.0200.08320.82
5.6.220.0180.08720.81
5.6.210.0230.07020.87
5.6.200.0230.07520.84
5.6.190.0250.08320.86
5.6.180.0170.08320.89
5.6.170.0200.07520.79
5.6.160.0250.06320.82
5.6.150.0200.07020.70
5.6.140.0270.06320.80
5.6.130.0220.06520.81
5.6.120.0280.06020.93
5.6.110.0270.06520.80
5.6.100.0150.07320.82
5.6.90.0230.06320.92
5.6.80.0180.06520.10
5.6.70.0230.06020.10
5.6.60.0250.06220.15
5.6.50.0200.06320.08
5.6.40.0220.07320.05
5.6.30.0220.07820.26
5.6.20.0170.08520.14
5.6.10.0130.07520.08
5.6.00.0100.06820.05