3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $text = "This is the Euro symbol '€'."; echo 'Original : ', $text, PHP_EOL; echo 'IGNORE : ', @iconv("UTF-8", "ISO-8859-1//translate", $text), PHP_EOL;

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.0090.00916.89
7.2.00.0090.00619.45
7.1.200.0050.01015.93
7.1.100.0030.00918.41
7.1.70.0030.00617.02
7.1.60.0190.00619.32
7.1.50.0130.00917.22
7.1.00.0030.06022.57
7.0.200.0060.00617.10
7.0.140.0030.07022.14
7.0.100.0230.07020.02
7.0.90.0030.09720.00
7.0.80.0170.07019.89
7.0.70.0330.07019.89
7.0.60.0270.08719.94
7.0.50.0200.08720.45
7.0.40.0100.08320.20
7.0.30.0100.07020.30
7.0.20.0270.07020.18
7.0.10.0070.08020.25
7.0.00.0100.04720.17
5.6.280.0070.07321.29
5.6.250.0170.07320.62
5.6.240.0070.07020.54
5.6.230.0070.05320.71
5.6.220.0070.08720.57
5.6.210.0030.08720.77
5.6.200.0070.08321.18
5.6.190.0100.08321.14
5.6.180.0070.06321.23
5.6.170.0070.07321.07
5.6.160.0130.04721.15
5.6.150.0070.08021.06
5.6.140.0030.06021.16
5.6.130.0170.07721.14
5.6.120.0070.05021.21
5.6.110.0100.07021.16
5.6.100.0070.05021.14
5.6.90.0030.08021.20
5.6.80.0200.07320.55
5.6.70.0030.07720.57
5.6.60.0130.06720.57
5.6.50.0100.04720.59
5.6.40.0070.04720.49
5.6.30.0070.05020.50
5.6.20.0030.04320.43
5.6.10.0030.05320.51
5.6.00.0070.08320.58
5.5.380.0070.08020.56
5.5.370.0070.07720.35
5.5.360.0130.08020.40
5.5.350.0100.06320.39
5.5.340.0070.04021.02
5.5.330.0130.07320.96
5.5.320.0130.06721.02
5.5.310.0100.04021.00
5.5.300.0030.09021.02
5.5.290.0200.07720.93
5.5.280.0030.09021.01
5.5.270.0130.05020.89
5.5.260.0130.09020.88
5.5.250.0070.05320.82
5.5.240.0130.05320.44
5.5.230.0100.04720.14
5.5.220.0030.04020.28
5.5.210.0070.08020.38
5.5.200.0030.05720.29
5.5.190.0070.04020.36
5.5.180.0070.08320.34
5.5.160.0200.06320.36
5.5.150.0100.06020.36
5.5.140.0130.08320.32
5.5.130.0100.06020.08
5.5.120.0100.08020.34
5.5.110.0100.04020.24
5.5.100.0030.08720.23
5.5.90.0100.07720.18
5.5.80.0070.04720.20
5.5.70.0000.06720.23
5.5.60.0070.05720.20
5.5.50.0130.07020.23
5.5.40.0070.07020.21
5.5.30.0100.04320.08
5.5.20.0070.06720.20
5.5.10.0000.04320.13
5.5.00.0070.07020.25
5.4.450.0130.07719.64
5.4.440.0130.06719.27
5.4.430.0170.07019.52
5.4.420.0100.04719.51
5.4.410.0070.07719.17
5.4.400.0130.07319.40
5.4.390.0070.08318.95
5.4.380.0030.08319.24
5.4.370.0030.07719.06
5.4.360.0200.07319.22
5.4.350.0170.05719.26
5.4.340.0100.06019.29
5.4.320.0000.05719.28
5.4.310.0070.04719.07
5.4.300.0000.05019.30
5.4.290.0070.08018.98
5.4.280.0100.08019.27
5.4.270.0070.05318.98
5.4.260.0000.08319.12
5.4.250.0070.07718.99
5.4.240.0100.06319.21
5.4.230.0030.04019.38
5.4.220.0100.05319.39
5.4.210.0030.08019.23
5.4.200.0100.03719.25
5.4.190.0070.04319.25
5.4.180.0130.06019.18
5.4.170.0170.06319.21
5.4.160.0030.04719.12
5.4.150.0000.04019.11
5.4.140.0030.04716.28
5.4.130.0100.06016.52
5.4.120.0070.07716.41
5.4.110.0000.04716.42
5.4.100.0070.07016.58
5.4.90.0100.06016.53
5.4.80.0000.04716.46
5.4.70.0070.05016.64
5.4.60.0070.06016.50
5.4.50.0130.06316.50
5.4.40.0030.06016.36
5.4.30.0330.03016.62
5.4.20.0030.05016.43
5.4.10.0030.04316.40
5.4.00.0130.06715.86
5.3.290.0100.07014.69
5.3.280.0070.04714.76
5.3.270.0030.04014.74
5.3.260.0070.07714.62
5.3.250.0070.07714.75
5.3.240.0030.04314.73
5.3.230.0030.06314.74
5.3.220.0000.05014.69
5.3.210.0100.06014.71
5.3.200.0130.07014.56
5.3.190.0070.06714.73
5.3.180.0030.08714.59
5.3.170.0070.07014.71
5.3.160.0130.06314.68
5.3.150.0100.07314.55
5.3.140.0030.08014.57
5.3.130.0100.06714.69
5.3.120.0070.07714.64
5.3.110.0130.06714.66
5.3.100.0130.04714.11
5.3.90.0000.04014.01
5.3.80.0130.03314.08
5.3.70.0030.04314.16
5.3.60.0130.07013.92
5.3.50.0030.07314.10
5.3.40.0070.07714.12
5.3.30.0130.07714.02
5.3.20.0030.06313.82
5.3.10.0130.06313.78
5.3.00.0030.08013.76
5.2.170.0070.06311.14
5.2.160.0070.03311.29
5.2.150.0070.05711.25
5.2.140.0030.05311.29
5.2.130.0070.03311.21
5.2.120.0030.06011.26
5.2.110.0070.05011.25
5.2.100.0100.04011.22
5.2.90.0070.02711.18
5.2.80.0070.03011.32
5.2.70.0070.06011.10
5.2.60.0000.03311.22
5.2.50.0030.05011.04
5.2.40.0030.03011.11
5.2.30.0030.06311.20
5.2.20.0030.03011.04
5.2.10.0030.03010.94
5.2.00.0100.04711.00
5.1.60.0030.05710.20
5.1.50.0070.05310.21
5.1.40.0000.05310.19
5.1.30.0000.03310.51
5.1.20.0030.02710.45
5.1.10.0100.05010.32
5.1.00.0030.05710.28
5.0.50.0070.0409.65
5.0.40.0030.0409.65
5.0.30.0070.0779.65
5.0.20.0030.0409.65
5.0.10.0030.0409.65
5.0.00.0030.0609.65
4.4.90.0000.0209.65
4.4.80.0070.0279.65
4.4.70.0070.0309.65
4.4.60.0030.0139.65
4.4.50.0000.0379.65
4.4.40.0000.0479.65
4.4.30.0030.0379.65
4.4.20.0030.0179.65
4.4.10.0000.0209.65
4.4.00.0030.0439.65
4.3.110.0030.0339.65
4.3.100.0030.0309.65
4.3.90.0070.0309.65
4.3.80.0070.0379.65
4.3.70.0030.0309.65
4.3.60.0030.0239.65
4.3.50.0000.0209.65
4.3.40.0070.0509.65
4.3.30.0030.0179.65
4.3.20.0000.0179.65
4.3.10.0000.0209.65
4.3.00.0000.0379.65