3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(@iconv('UTF-8', 'US-ASCII//IGNORE//TRANSLIT', 'Mixed with English and 日本人'));

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.3.10.0100.00316.43
7.3.00.0060.00616.69
7.2.130.0040.01116.83
7.2.120.0090.00616.93
7.2.110.0040.01116.84
7.2.100.0090.00316.86
7.2.90.0030.00716.95
7.2.80.0060.00916.85
7.2.70.0080.00817.08
7.2.60.0020.01416.96
7.2.50.0060.00617.10
7.2.40.0070.01016.90
7.2.30.0030.00917.10
7.2.20.0000.01617.07
7.2.10.0040.01116.84
7.2.00.0050.01218.24
7.1.250.0090.00615.86
7.1.200.0090.00615.94
7.1.100.0040.01117.98
7.1.70.0040.00417.01
7.1.60.0100.01419.17
7.1.50.0040.01117.20
7.1.00.0070.07022.63
7.0.200.0000.00916.80
7.0.140.0000.08022.12
7.0.110.0100.08319.96
7.0.100.0100.06019.90
7.0.90.0030.07719.83
7.0.80.0030.06719.91
7.0.70.0070.04720.01
7.0.60.0070.03320.03
7.0.50.0070.07719.89
7.0.40.0100.08319.78
7.0.30.0070.06019.68
7.0.20.0200.04019.68
7.0.10.0030.04719.81
7.0.00.0000.03719.67
5.6.280.0030.07720.97
5.6.260.0170.07320.72
5.6.250.0070.03320.59
5.6.240.0030.03720.62
5.6.230.0070.04020.64
5.6.220.0070.03720.59
5.6.210.0000.04320.65
5.6.200.0030.04320.60
5.6.190.0070.05320.45
5.6.180.0030.05720.66
5.6.170.0100.04320.64
5.6.160.0000.03720.45
5.6.150.0070.08020.65
5.6.140.0030.05320.51
5.6.130.0030.04020.52
5.6.120.0030.04020.44
5.6.110.0070.03720.59
5.6.100.0000.04320.42
5.6.90.0100.07720.57
5.6.80.0130.06019.98
5.6.70.0100.07319.72
5.6.60.0030.07719.92
5.6.50.0030.04019.93
5.6.40.0070.05720.02
5.6.30.0100.07319.91
5.6.20.0070.04019.85
5.6.10.0030.04019.95
5.6.00.0130.07019.96
5.5.380.0030.04017.63
5.5.370.0070.03717.56
5.5.360.0030.08717.62
5.5.350.0070.03717.37
5.5.340.0030.03318.14
5.5.330.0070.04018.28
5.5.320.0100.03017.97
5.5.310.0070.06718.10
5.5.300.0030.03717.99
5.5.290.0000.04318.30
5.5.280.0100.04018.28
5.5.270.0070.03718.25
5.5.260.0030.08318.16
5.5.250.0030.07317.95
5.5.240.0000.07717.23
5.5.230.0070.07317.38
5.5.220.0130.06017.66
5.5.210.0070.06717.62
5.5.200.0170.07017.77
5.5.190.0100.05717.31
5.5.180.0100.08017.76
5.5.160.0100.07317.60
5.5.150.0100.06317.63
5.5.140.0100.07017.33
5.5.130.0030.06717.61
5.5.120.0070.07317.64
5.5.110.0070.04017.32
5.5.100.0030.07717.52
5.5.90.0030.05317.35
5.5.80.0130.06717.53
5.5.70.0100.08717.22
5.5.60.0130.04017.23
5.5.50.0100.04317.25
5.5.40.0100.03717.34
5.5.30.0000.06717.21
5.5.20.0030.04717.22
5.5.10.0100.08717.52
5.5.00.0030.04017.52
5.4.450.0100.03319.48
5.4.440.0030.06719.38
5.4.430.0100.04019.73
5.4.420.0070.03719.59
5.4.410.0070.08719.59
5.4.400.0030.05719.31
5.4.390.0030.06719.32
5.4.380.0030.07319.13
5.4.370.0030.08019.27
5.4.360.0100.07319.15
5.4.350.0030.06319.06
5.4.340.0100.06319.27
5.4.320.0070.06719.32
5.4.310.0100.08319.41
5.4.300.0070.08019.32
5.4.290.0000.07719.21
5.4.280.0170.03319.29
5.4.270.0030.07719.11
5.4.260.0070.04019.10
5.4.250.0100.07719.31
5.4.240.0030.06319.12
5.4.230.0170.06319.26
5.4.220.0030.05019.10
5.4.210.0000.06319.08
5.4.200.0100.07319.09
5.4.190.0100.06719.11
5.4.180.0070.05719.09
5.4.170.0030.04719.11
5.4.160.0100.06019.04
5.4.150.0200.05719.12
5.4.140.0170.06316.73
5.4.130.0030.07016.40
5.4.120.0030.04016.55
5.4.110.0030.05716.58
5.4.100.0130.05316.70
5.4.90.0070.06716.58
5.4.80.0100.07016.32
5.4.70.0100.06016.48
5.4.60.0070.06016.47
5.4.50.0000.08016.46
5.4.40.0000.04716.70
5.4.30.0100.06316.41
5.4.20.0070.03716.55
5.4.10.0030.08016.32
5.4.00.0130.06716.01
5.3.290.0100.05714.76
5.3.280.0070.04714.55
5.3.270.0030.05014.66
5.3.260.0030.05014.58
5.3.250.0030.06714.59
5.3.240.0070.05714.69
5.3.230.0000.08314.81
5.3.220.0130.06714.81
5.3.210.0070.04014.64
5.3.200.0030.05314.63
5.3.190.0030.08314.73
5.3.180.0030.04014.66
5.3.170.0070.04014.65
5.3.160.0100.04714.61
5.3.150.0000.07014.61
5.3.140.0070.07314.55
5.3.130.0100.06714.64
5.3.120.0000.04714.60
5.3.110.0030.07014.56
5.3.100.0030.08013.98
5.3.90.0030.07714.02
5.3.80.0030.04014.10
5.3.70.0070.03714.26
5.3.60.0170.06013.98
5.3.50.0030.04714.03
5.3.40.0130.07714.03
5.3.30.0100.07013.97
5.3.20.0000.08013.77
5.3.10.0100.06313.75
5.3.00.0000.05313.86
5.2.170.0070.05011.97
5.2.160.0030.06011.97
5.2.150.0000.06711.97
5.2.140.0070.06311.97
5.2.130.0070.05711.97
5.2.120.0100.05011.97
5.2.110.0030.05711.97
5.2.100.0100.05311.97
5.2.90.0100.04311.97
5.2.80.0000.04311.97
5.2.70.0030.05311.97
5.2.60.0100.02711.97
5.2.50.0070.07711.97
5.2.40.0100.02711.97
5.2.30.0100.05011.97
5.2.20.0070.05311.97
5.2.10.0070.06311.97
5.2.00.0070.05711.97
5.1.60.0000.03011.97
5.1.50.0000.03011.97
5.1.40.0070.05311.97
5.1.30.0070.03311.97
5.1.20.0070.04011.97
5.1.10.0030.06011.97
5.1.00.0030.05711.97
5.0.50.0070.04711.97
5.0.40.0030.04011.97
5.0.30.0030.07311.97
5.0.20.0030.04311.97
5.0.10.0030.02711.97
5.0.00.0000.06711.97
4.4.90.0000.03011.97
4.4.80.0030.03011.97
4.4.70.0000.02011.97
4.4.60.0000.02311.97
4.4.50.0000.01711.97
4.4.40.0030.04711.97
4.4.30.0000.03311.97
4.4.20.0000.03311.97
4.4.10.0030.02711.97
4.4.00.0030.04011.97
4.3.110.0100.01711.97
4.3.100.0030.03011.97
4.3.90.0070.03011.97
4.3.80.0070.05011.97
4.3.70.0030.03011.97
4.3.60.0000.03311.97
4.3.50.0000.03711.97
4.3.40.0000.02711.97
4.3.30.0030.03311.97
4.3.20.0030.03711.97
4.3.10.0030.03311.97
4.3.00.0030.02011.97