3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(mb_convert_encoding( "◄", "HTML-ENTITIES" )); ?>

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.0130.00016.83
7.2.00.0030.01019.32
7.1.200.0030.00915.77
7.1.100.0070.01317.65
7.1.70.0100.01017.03
7.1.60.0070.00419.46
7.1.50.0170.02134.37
7.1.00.0030.07722.36
7.0.200.0000.00816.43
7.0.140.0030.06721.99
7.0.60.0170.07720.01
7.0.50.0030.04017.82
7.0.40.0030.08319.90
7.0.30.0270.06320.00
7.0.20.0170.06020.18
7.0.10.0070.04720.16
7.0.00.0100.04720.20
5.6.280.0070.07021.10
5.6.210.0030.08720.70
5.6.200.0030.09318.11
5.6.190.0100.08020.56
5.6.180.0100.07720.35
5.6.170.0330.06020.61
5.6.160.0000.07720.49
5.6.150.0000.06718.15
5.6.140.0130.04718.12
5.6.130.0070.08018.16
5.6.120.0030.04320.89
5.6.110.0100.08320.99
5.6.100.0100.08321.13
5.6.90.0130.08321.12
5.6.80.0100.06720.30
5.5.350.0000.03320.34
5.5.340.0000.09317.98
5.5.330.0100.04020.56
5.5.320.0370.07320.30
5.5.310.0200.04320.29
5.5.300.0030.03718.02
5.5.290.0070.07318.01
5.5.280.0100.04320.86
5.5.270.0030.04020.75
5.5.260.0030.08320.87
5.5.250.0070.03720.77
5.5.240.0070.07320.15
5.4.450.0700.04719.32
5.4.440.0900.05319.63
5.4.430.1000.05719.57
5.4.420.0770.05019.14
5.4.410.0500.06019.52
5.4.400.0970.05319.09
5.4.390.1400.05019.18
5.4.380.0070.06018.74
5.4.370.0130.05018.55
5.4.360.0070.05718.74
5.4.350.0170.05018.52
5.4.340.0200.04718.63
5.4.320.0050.03812.45
5.4.310.0030.04812.45
5.4.300.0100.03412.45
5.4.290.0110.05112.45
5.4.280.0090.05512.34
5.4.270.0100.05112.35
5.4.260.0080.05712.35
5.4.250.0100.05312.34
5.4.240.0130.05212.34
5.4.230.0080.05012.34
5.4.220.0050.05512.34
5.4.210.0100.06012.34
5.4.200.0100.05012.34
5.4.190.0100.05312.34
5.4.180.0180.06412.33
5.4.170.0140.07112.35
5.4.160.0100.04512.34
5.4.150.0070.04612.34
5.4.140.0090.04512.02
5.4.130.0070.03912.01
5.4.120.0170.06911.97
5.4.110.0130.07011.96
5.4.100.0100.05311.96
5.4.90.0040.05511.96
5.4.80.0120.04411.96
5.4.70.0080.05811.96
5.4.60.0130.08611.96
5.4.50.0160.07811.96
5.4.40.0100.05911.95
5.4.30.0120.04811.95
5.4.20.0080.05111.95
5.4.10.0130.05511.95
5.4.00.0110.05411.43
5.3.290.0070.04312.80
5.3.280.0060.06012.71
5.3.270.0100.05812.72
5.3.260.0080.06212.72
5.3.250.0150.07112.72
5.3.240.0160.05112.72
5.3.230.0110.05212.71
5.3.220.0100.05212.68
5.3.210.0050.05612.68
5.3.200.0080.05812.68
5.3.190.0160.06412.68
5.3.180.0070.06112.67
5.3.170.0170.04612.67
5.3.160.0110.05912.67
5.3.150.0120.07212.67
5.3.140.0070.06012.66
5.3.130.0090.05412.66
5.3.120.0060.06012.65
5.3.110.0050.05112.66
5.3.100.0090.03512.12
5.3.90.0050.03912.09
5.3.80.0050.04012.07
5.3.70.0080.03412.07
5.3.60.0040.03912.06
5.3.50.0070.03712.00
5.3.40.0080.03512.00
5.3.30.0080.03511.95
5.3.20.0090.03411.72
5.3.10.0070.03511.69
5.3.00.0060.03811.67
5.2.170.0030.0349.18
5.2.160.0110.0279.18
5.2.150.0080.0579.18
5.2.140.0100.0489.17
5.2.130.0090.0449.13
5.2.120.0080.0379.13
5.2.110.0050.0389.14
5.2.100.0060.0429.14
5.2.90.0080.0289.13
5.2.80.0100.0349.13
5.2.70.0050.0609.13
5.2.60.0050.0339.08
5.2.50.0060.0309.05
5.2.40.0060.0309.03
5.2.30.0060.0299.00
5.2.20.0030.0309.00
5.2.10.0040.0298.91
5.2.00.0040.0308.77
5.1.60.0060.0238.06
5.1.50.0040.0278.05
5.1.40.0060.0288.04
5.1.30.0060.0438.39
5.1.20.0080.0398.41
5.1.10.0060.0348.13
5.1.00.0090.0248.13
5.0.50.0040.0216.61
5.0.40.0030.0216.47
5.0.30.0050.0376.28
5.0.20.0040.0216.26
5.0.10.0030.0226.23
5.0.00.0140.0346.18
4.4.90.0030.0164.78
4.4.80.0040.0144.75
4.4.70.0040.0154.75
4.4.60.0030.0164.75
4.4.50.0060.0134.77
4.4.40.0040.0254.70
4.4.30.0050.0304.76
4.4.20.0030.0174.84
4.4.10.0030.0214.85
4.4.00.0020.0264.76
4.3.110.0020.0214.67
4.3.100.0050.0184.66
4.3.90.0020.0154.63
4.3.80.0050.0234.58
4.3.70.0010.0194.63
4.3.60.0040.0174.62
4.3.50.0030.0194.63
4.3.40.0040.0264.54
4.3.30.0050.0133.27
4.3.20.0010.0173.25
4.3.10.0050.0173.21
4.3.00.0070.0177.01