3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = "äåö"; $selite = utf8_decode($data); echo $selite;
based on Wl7EJ

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.0060.00616.80
7.2.50.0030.01016.64
7.2.00.0030.01019.15
7.1.200.0070.00315.89
7.1.100.0000.01117.95
7.1.70.0000.00717.17
7.1.60.0040.00717.25
7.1.50.0080.01116.94
7.1.00.0070.07322.36
7.0.200.0090.00616.72
7.0.140.0030.06322.04
7.0.60.0130.07319.92
7.0.50.0130.08017.90
7.0.40.0070.05020.13
7.0.30.0230.04320.19
7.0.20.0300.06320.18
7.0.10.0070.04720.16
7.0.00.0100.06020.30
5.6.280.0070.07021.04
5.6.210.0100.05020.56
5.6.200.0070.08018.12
5.6.190.0070.08320.66
5.6.180.4070.04720.64
5.6.170.0170.04020.49
5.6.160.0030.08720.62
5.6.150.0070.05718.09
5.6.140.0070.04318.20
5.6.130.0070.04018.11
5.6.120.0000.05321.11
5.6.110.0070.08721.13
5.6.100.0100.07320.98
5.6.90.0030.09021.06
5.6.80.0100.07020.53
5.6.70.3200.03320.35
5.5.350.0200.04320.46
5.5.340.0030.07017.89
5.5.330.0100.06320.09
5.5.320.0330.07320.41
5.5.310.0200.05020.27
5.5.300.0130.05317.96
5.5.290.0030.05017.99
5.5.280.0100.07720.73
5.5.270.0070.08020.67
5.5.260.0170.07320.76
5.5.250.0100.07020.68
5.5.240.0230.07020.25
5.4.450.0400.05719.45
5.4.440.0830.05019.32
5.4.430.0130.06319.50
5.4.420.0100.05319.64
5.4.410.0170.04719.40
5.4.400.0130.05019.06
5.4.390.0270.05018.72
5.4.380.0200.05718.69
5.4.370.0170.05718.57
5.4.360.0270.06018.57
5.4.350.0330.06018.56
5.4.340.0500.05318.74
5.4.320.0300.07718.73
5.4.310.0170.05718.68
5.4.300.0470.05318.56
5.4.290.0200.05318.51
5.4.280.0330.06018.73
5.4.270.0270.05018.59
5.4.260.0200.05718.61
5.4.250.0230.05718.45
5.4.240.0170.06018.56
5.4.230.0230.05018.64
5.4.220.0200.05318.59
5.4.210.0270.05318.47
5.4.200.0270.05016.39
5.4.190.0230.05318.62
5.4.180.0230.05318.67
5.4.170.0130.07318.70
5.4.160.0330.04018.66
5.4.150.0270.04318.69
5.4.140.0300.05316.36
5.4.130.0300.05716.19
5.4.120.0370.04016.19
5.4.110.0200.05016.24
5.4.100.0170.05716.30
5.4.90.0230.05316.07
5.4.80.0300.04716.29
5.4.70.0200.05716.19
5.4.60.0200.05316.02
5.4.50.0200.05716.22
5.4.40.0230.05716.07
5.4.30.0230.05016.02
5.4.20.0230.05316.27
5.4.10.0100.06716.22
5.4.00.0300.05015.58
5.3.290.0230.06014.63
5.3.280.0230.05314.62
5.3.270.0200.05714.55
5.3.260.0230.05014.58
5.3.250.0270.05014.51
5.3.240.0200.06014.58
5.3.230.0330.05014.58
5.3.220.0200.05314.47
5.3.210.0170.06314.51
5.3.200.0330.04314.54
5.3.190.0100.06714.54
5.3.180.0230.05314.47
5.3.170.0300.04314.65
5.3.160.0270.05714.50
5.3.150.0230.05314.49
5.3.140.0300.04314.53
5.3.130.0170.06014.43
5.3.120.0330.06014.44
5.3.110.0130.06714.51
5.3.100.0200.06313.94
5.3.90.0230.05714.01
5.3.80.0230.04713.95
5.3.70.0370.06313.99
5.3.60.0230.05013.95
5.3.50.0200.06713.89
5.3.40.0370.05713.93
5.3.30.0400.05314.00
5.3.20.0230.05013.60
5.3.10.0130.05713.57
5.3.00.0330.06713.55
5.2.170.0200.05011.10
5.2.160.0170.04311.14
5.2.150.0200.05011.12
5.2.140.0130.05311.17
5.2.130.0230.03711.13
5.2.120.0130.04311.01
5.2.110.0130.04311.05
5.2.100.0270.03011.02
5.2.90.0130.04011.06
5.2.80.0170.04711.09
5.2.70.0130.04711.09
5.2.60.0130.04710.97
5.2.50.0130.05010.99
5.2.40.0130.04010.95
5.2.30.0230.03311.12
5.2.20.0130.04010.93
5.2.10.0170.04010.91
5.2.00.0230.05010.77
5.1.60.0130.04310.02
5.1.50.0200.0309.98
5.1.40.0030.04010.09
5.1.30.0230.02710.32
5.1.20.0130.03710.36
5.1.10.0100.04010.04
5.1.00.0070.04310.08
5.0.50.0130.0338.58
5.0.40.0100.0308.46
5.0.30.0070.0438.23
5.0.20.0070.0308.32
5.0.10.0070.0278.18
5.0.00.0070.0438.13
4.4.90.0000.0275.92
4.4.80.0070.0235.88
4.4.70.0030.0235.86
4.4.60.0030.0235.90
4.4.50.0070.0235.88
4.4.40.0070.0375.90
4.4.30.0100.0205.87
4.4.20.0100.0275.88
4.4.10.0070.0235.88
4.4.00.0070.0375.85
4.3.110.0070.0235.85
4.3.100.0070.0205.83
4.3.90.0100.0205.76
4.3.80.0030.0405.81
4.3.70.0000.0275.91
4.3.60.0070.0275.79
4.3.50.0030.0275.80
4.3.40.0030.0375.78
4.3.30.0030.0234.64
4.3.20.0030.0234.51
4.3.10.0030.0234.57
4.3.00.0100.0208.33