3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var str; $str="Takha"; echo str;
based on 5ENhc

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.0.00.0000.09020.22
5.6.160.0030.06720.52
5.6.150.0030.08018.19
5.6.140.0100.08018.18
5.6.130.0070.08718.28
5.6.120.0070.04721.14
5.6.110.0130.07320.98
5.6.100.0130.07321.02
5.6.90.0100.07320.95
5.6.80.0030.06720.41
5.5.300.0130.03017.96
5.5.290.0130.06017.96
5.5.280.0100.05320.73
5.5.270.0100.08320.80
5.5.260.0130.05720.76
5.5.250.0100.06320.46
5.5.240.2900.03020.34
5.4.450.0800.06719.47
5.4.440.0600.05719.63
5.4.430.0830.03719.37
5.4.420.0530.05019.42
5.4.410.0500.05719.31
5.4.400.0470.05319.21
5.4.390.0500.05319.16
5.4.380.0500.05319.12
5.4.370.0430.05719.13
5.4.360.0600.05018.96
5.4.350.0670.03719.15
5.4.340.0500.05319.20
5.4.320.0500.05318.85
5.4.310.0470.06019.25
5.4.300.0500.05319.04
5.4.290.0470.05319.12
5.4.280.0600.04319.00
5.4.270.0600.05319.12
5.4.260.0700.04019.27
5.4.250.0730.04018.85
5.4.240.0670.04719.14
5.4.230.0630.04719.21
5.4.220.0470.05719.27
5.4.210.0500.05018.83
5.4.200.0630.04019.20
5.4.190.0630.05319.17
5.4.180.0770.04019.11
5.4.170.0630.05019.27
5.4.160.0600.05319.47
5.4.150.0630.05318.81
5.4.140.0630.05016.50
5.4.130.0600.04716.29
5.4.120.0470.05016.29
5.4.110.0630.05016.18
5.4.100.0530.05316.60
5.3.290.0470.06014.76
5.3.280.0630.04714.48
5.3.270.0530.06014.59
5.3.260.0800.05314.56
5.3.250.0600.05714.45
5.3.240.0570.05314.54
5.3.230.0530.06014.48
5.3.220.0500.05014.52
5.3.210.0670.04714.45
5.3.200.0630.04714.55