3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo chr(254);

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.110.0070.00716.30
7.2.60.0030.00916.74
7.2.00.0070.00719.09
7.1.200.0070.00715.52
7.1.100.0000.01117.99
7.1.70.0040.00416.95
7.1.60.0090.01619.32
7.1.50.0070.01416.77
7.1.00.0070.07322.51
7.0.200.0030.00716.52
7.0.140.0030.07022.21
7.0.100.0200.09019.95
7.0.90.0200.07319.98
7.0.80.0230.08020.11
7.0.70.0000.04019.84
7.0.60.0030.07319.91
7.0.50.0070.06320.29
7.0.40.0130.07020.13
7.0.30.0170.04020.10
7.0.20.0130.07720.15
7.0.10.0030.04720.04
7.0.00.0030.09719.99
5.6.280.0030.07321.12
5.6.250.0170.06720.48
5.6.240.0070.07720.54
5.6.230.0100.08020.65
5.6.220.0100.07720.57
5.6.210.0130.04320.46
5.6.200.0000.04721.03
5.6.190.0100.04021.04
5.6.180.0070.08321.07
5.6.170.0130.08021.07
5.6.160.0030.08721.02
5.6.150.0100.08021.02
5.6.140.0100.07720.88
5.6.130.0030.08321.09
5.6.120.0070.06721.12
5.6.110.0030.07721.03
5.6.100.0070.07321.06
5.6.90.0070.06021.07
5.6.80.0000.04320.48
5.6.70.0000.04020.47
5.6.60.0000.08020.31
5.6.50.0000.06720.39
5.6.40.0170.02720.37
5.6.30.0100.05020.38
5.6.20.0000.08020.39
5.6.10.0030.04720.39
5.6.00.0100.05320.47
5.5.380.0070.08320.34
5.5.370.0030.08020.36
5.5.360.0100.08320.37
5.5.350.0100.07320.36
5.5.340.0100.06320.89
5.5.330.0170.07320.73
5.5.320.0170.05720.91
5.5.310.0070.05020.89
5.5.300.0100.07020.88
5.5.290.0030.08720.88
5.5.280.0070.07020.82
5.5.270.0030.05020.85
5.5.260.0000.05320.70
5.5.250.0070.05020.73
5.5.240.0130.05320.29
5.5.230.0100.06320.22
5.5.220.0030.04720.16
5.5.210.0100.03720.20
5.5.200.0130.07320.23
5.5.190.0070.07720.14
5.5.180.0030.07320.22
5.5.160.0070.06020.07
5.5.150.0070.07020.20
5.5.140.0100.06720.22
5.5.130.0000.04720.22
5.5.120.0030.08720.23
5.5.110.0030.06020.26
5.5.100.0070.03320.16
5.5.90.0000.08720.05
5.5.80.0100.05720.07
5.5.70.0030.05020.05
5.5.60.0000.07320.07
5.5.50.0070.08020.07
5.5.40.0070.08020.14
5.5.30.0130.07020.11
5.5.20.0130.06719.94
5.5.10.0030.08020.13
5.5.00.0030.04720.11
5.4.450.0070.08019.36
5.4.440.0100.06019.45
5.4.430.0100.07719.36
5.4.420.0070.03719.11
5.4.410.0130.05719.24
5.4.400.0000.07018.79
5.4.390.0130.06018.95
5.4.380.0100.07018.91
5.4.370.0070.07318.90
5.4.360.0030.07319.14
5.4.350.0030.06019.03
5.4.340.0030.04718.79
5.4.320.0070.08018.98
5.4.310.0070.08018.81
5.4.300.0030.04319.03
5.4.290.0030.06018.94
5.4.280.0030.03319.14
5.4.270.0070.03018.90
5.4.260.0030.06019.02
5.4.250.0030.07318.77
5.4.240.0030.07718.80
5.4.230.0070.06019.04
5.4.220.0070.04319.02
5.4.210.0130.07019.11
5.4.200.0130.05318.77
5.4.190.0130.07319.09
5.4.180.0070.07019.09
5.4.170.0100.06319.04
5.4.160.0030.07719.10
5.4.150.0030.04318.81
5.4.140.0100.07016.27
5.4.130.0070.04316.26
5.4.120.0100.07016.26
5.4.110.0030.05016.26
5.4.100.0130.07716.44
5.4.90.0130.06016.21
5.4.80.0030.06716.24
5.4.70.0030.04016.19
5.4.60.0000.07716.36
5.4.50.0030.04716.21
5.4.40.0070.07716.29
5.4.30.0130.06016.32
5.4.20.0100.06316.30
5.4.10.0030.06716.31
5.4.00.0030.04015.79
5.3.290.0030.07714.61
5.3.280.0070.03714.44
5.3.270.0070.05714.56
5.3.260.0000.08314.61
5.3.250.0030.06714.54
5.3.240.0100.05014.59
5.3.230.0100.06314.42
5.3.220.0030.04014.51
5.3.210.0070.07714.54
5.3.200.0000.06014.52
5.3.190.0170.05714.42
5.3.180.0100.06014.53
5.3.170.0030.05014.39
5.3.160.0070.07314.38
5.3.150.0030.08014.54
5.3.140.0070.06014.55
5.3.130.0070.04314.50
5.3.120.0130.07714.36
5.3.110.0070.04314.54
5.3.100.0070.06714.01
5.3.90.0030.04313.83
5.3.80.0100.05013.99
5.3.70.0100.07014.00
5.3.60.0070.05013.99
5.3.50.0070.06013.93
5.3.40.0030.05013.94
5.3.30.0130.06313.76
5.3.20.0030.07713.59
5.3.10.0070.06313.61
5.3.00.0070.06713.61
5.2.170.0000.04011.13
5.2.160.0170.04711.13
5.2.150.0070.06711.20
5.2.140.0070.04710.95
5.2.130.0070.05311.09
5.2.120.0030.03711.07
5.2.110.0100.05711.13
5.2.100.0170.04710.95
5.2.90.0000.04711.12
5.2.80.0170.05311.11
5.2.70.0070.05310.88
5.2.60.0070.06011.09
5.2.50.0030.02711.05
5.2.40.0030.06010.91
5.2.30.0000.06010.99
5.2.20.0070.05010.97
5.2.10.0030.03010.80
5.2.00.0000.03310.77
5.1.60.0070.02310.04
5.1.50.0000.05310.00
5.1.40.0030.0409.95
5.1.30.0000.04010.38
5.1.20.0070.04310.25
5.1.10.0070.05310.06
5.1.00.0000.06010.05
5.0.50.0100.0378.62
5.0.40.0100.0338.40
5.0.30.0000.0378.40
5.0.20.0100.0238.40
5.0.10.0030.0238.40
5.0.00.0030.0608.40
4.4.90.0000.0178.40
4.4.80.0000.0278.40
4.4.70.0030.0238.40
4.4.60.0030.0138.40
4.4.50.0000.0208.40
4.4.40.0000.0578.40
4.4.30.0000.0178.40
4.4.20.0000.0338.40
4.4.10.0000.0338.40
4.4.00.0000.0278.40
4.3.110.0030.0338.40
4.3.100.0000.0278.40
4.3.90.0070.0108.40
4.3.80.0000.0478.40
4.3.70.0000.0178.40
4.3.60.0030.0178.40
4.3.50.0130.0138.40
4.3.40.0030.0538.40
4.3.30.0030.0178.40
4.3.20.0000.0408.40
4.3.10.0000.0238.40
4.3.00.0000.0378.40