3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t=html_entity_decode("&#60b&#62vist&#60/b&#62"); echo $t; echo str_replace(array("<b>", "</b>"),"@",$t);
based on Y0PZ9

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.01216.45
7.2.00.0040.01519.13
7.1.200.0060.00615.80
7.1.100.0000.01118.01
7.1.70.0030.00717.22
7.1.60.0070.01819.46
7.1.50.0130.01016.80
7.1.00.0070.07322.48
7.0.200.0460.00714.44
7.0.140.0070.05722.09
7.0.60.0000.08719.91
7.0.50.0030.04317.86
7.0.40.0170.03020.03
7.0.30.0270.04020.18
7.0.20.0230.08020.30
7.0.10.0200.04320.09
7.0.00.0130.03320.30
5.6.280.0000.07721.02
5.6.210.0130.06020.75
5.6.200.0100.07718.12
5.6.190.0070.03720.45
5.6.180.0200.04020.38
5.6.170.0230.08020.49
5.6.160.0070.08320.51
5.6.150.0100.06718.20
5.6.140.0030.04018.17
5.6.130.0070.05718.11
5.6.120.0170.07720.98
5.6.110.0030.05720.98
5.6.100.0030.04321.03
5.6.90.0100.08721.13
5.6.80.0070.08020.43
5.6.70.0030.08020.39
5.5.350.0030.08720.40
5.5.340.0030.05018.02
5.5.330.0030.09020.07
5.5.320.0070.04720.43
5.5.310.0330.07320.23
5.5.300.0000.05717.99
5.5.290.0100.07017.97
5.5.280.0070.08320.84
5.5.270.0100.06320.88
5.5.260.0100.07720.78
5.5.250.0070.08720.54
5.5.240.0000.07020.25
5.4.450.0070.08319.27
5.4.440.1170.04019.64
5.4.430.0830.05719.63
5.4.420.0830.05319.48
5.4.410.0900.04719.39
5.4.400.0130.08018.82
5.4.390.0170.05718.70
5.4.380.0300.05318.60
5.4.370.0230.06018.73
5.4.360.0230.06718.64
5.4.350.0170.06718.74
5.4.340.0270.05718.52
5.4.320.0200.07718.70
5.4.310.0270.06018.64
5.4.300.0170.06018.52
5.4.290.0230.06018.57
5.4.280.0200.05718.70
5.4.270.0200.07318.73
5.4.260.0330.05318.44
5.4.250.0170.07018.70
5.4.240.0070.06718.66
5.4.230.0300.06318.59
5.4.220.0270.06718.56
5.4.210.0100.08018.57
5.4.200.0130.05716.40
5.4.190.0130.06318.50
5.4.180.0200.06018.47
5.4.170.0370.05718.63
5.4.160.0230.06718.74
5.4.150.0230.06718.57
5.4.140.0300.06016.16
5.4.130.0270.05716.30
5.4.120.0300.04316.06
5.4.110.0170.05716.25
5.4.100.0130.06016.30
5.4.90.0270.04316.30
5.4.80.0170.06716.22
5.4.70.0270.06316.24
5.4.60.0070.06316.13
5.4.50.0170.05016.28
5.4.40.0270.04716.19
5.4.30.0370.03716.31
5.4.20.0200.05716.02
5.4.10.0170.06716.09
5.4.00.0270.04315.58
5.3.290.0300.05014.57
5.3.280.0170.05714.48
5.3.270.0200.05714.63
5.3.260.0130.07014.69
5.3.250.0270.05314.70
5.3.240.0300.06314.60
5.3.230.0200.06714.66
5.3.220.0270.06314.63
5.3.210.0230.07014.47
5.3.200.0200.07014.59
5.3.190.0230.07014.53
5.3.180.0230.06714.53
5.3.170.0200.06714.55
5.3.160.0170.07314.48
5.3.150.0070.07014.60
5.3.140.0130.07314.46
5.3.130.0130.06014.54
5.3.120.0230.05014.64
5.3.110.0230.06014.43
5.3.100.0130.06013.98
5.3.90.0270.06313.93
5.3.80.0170.05014.01
5.3.70.0130.07313.96
5.3.60.0170.06713.95
5.3.50.0100.06714.04
5.3.40.0200.07013.86
5.3.30.0230.06714.00
5.3.20.0270.05713.80
5.3.10.0130.05713.74
5.3.00.0170.06313.63
5.2.170.0100.06311.13
5.2.160.0230.04011.07
5.2.150.0200.04311.15
5.2.140.0130.05011.05
5.2.130.0170.03711.05
5.2.120.0130.04311.13
5.2.110.0170.03711.03
5.2.100.0130.04311.16
5.2.90.0200.04311.07
5.2.80.0100.06011.12
5.2.70.0130.04311.06
5.2.60.0130.05010.96
5.2.50.0130.06011.05
5.2.40.0070.06010.96
5.2.30.0200.04310.92
5.2.20.0200.04710.94
5.2.10.0230.04310.91
5.2.00.0100.05710.75
5.1.60.0030.04310.11
5.1.50.0130.0339.98
5.1.40.0200.04010.11
5.1.30.0130.05010.36
5.1.20.0130.04310.46
5.1.10.0170.03310.13
5.1.00.0170.03710.18
5.0.50.0070.0408.64
5.0.40.0130.0308.46
5.0.30.0100.0478.28
5.0.20.0100.0338.29
5.0.10.0030.0408.29
5.0.00.0100.0508.17
4.4.90.0100.0275.91
4.4.80.0070.0305.81
4.4.70.0030.0335.91
4.4.60.0000.0335.92
4.4.50.0100.0275.88
4.4.40.0070.0435.89
4.4.30.0130.0135.91
4.4.20.0130.0175.96
4.4.10.0070.0235.95
4.4.00.0100.0335.91
4.3.110.0030.0235.75
4.3.100.0100.0175.87
4.3.90.0100.0175.79
4.3.80.0000.0405.83
4.3.70.0030.0235.84
4.3.60.0100.0235.90
4.3.50.0070.0205.81
4.3.40.0000.0435.74
4.3.30.0100.0174.63
4.3.20.0000.0274.56
4.3.10.0030.0234.54
4.3.00.0000.0238.77