3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo urlencode('test+12'); echo PHP_EOL; echo urldecode(urlencode('test+12')); echo PHP_EOL; echo urldecode('test%B12');

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.00.0120.00619.16
7.1.100.0090.00617.79
7.1.70.0130.00316.71
7.1.60.0120.01219.82
7.1.50.0090.01216.89
7.1.00.0070.03022.51
7.0.200.0800.00314.29
7.0.140.0100.06721.96
7.0.120.0030.07322.19
7.0.110.0030.07722.04
7.0.100.0070.07322.22
7.0.90.0130.05721.98
7.0.80.0070.07022.14
7.0.70.0030.07322.16
7.0.60.0030.06722.11
7.0.50.0030.07322.16
7.0.40.0000.07322.05
7.0.30.0070.07022.07
7.0.20.0070.07022.01
7.0.10.0030.07022.06
7.0.00.0070.07021.98
5.6.260.0070.07020.83
5.6.250.0030.07321.04
5.6.240.0070.06721.08
5.6.230.0030.07721.07
5.6.220.0030.06321.04
5.6.210.0100.06720.98
5.6.200.0030.07720.93
5.6.190.0130.06720.78
5.6.180.0030.07321.08
5.6.170.0100.06721.00
5.6.160.0000.07021.07
5.6.150.0030.07720.74
5.6.140.0100.06721.07
5.6.130.0030.07021.02
5.6.120.0000.07720.83
5.6.110.0000.08020.81
5.6.100.0030.07720.72
5.6.90.0000.07320.80
5.6.80.0070.05720.30
5.6.70.0000.07320.41
5.6.60.0100.06720.44
5.6.50.0070.06720.45
5.6.40.0030.06020.15
5.6.30.0030.07320.41
5.6.20.0100.06320.18
5.6.10.0030.06320.35
5.6.00.0030.06320.21
5.5.380.0070.06017.65
5.5.370.0130.06017.54
5.5.360.0030.07317.59
5.5.350.0030.06717.52
5.5.340.0030.07017.89
5.5.330.0000.07318.10
5.5.320.0070.07017.87
5.5.310.0000.07317.86
5.5.300.0000.07318.12
5.5.290.0030.07317.98
5.5.280.0100.07018.01
5.5.270.0130.06718.12
5.5.260.0030.07717.84
5.5.250.0000.07717.96
5.5.240.0000.06317.41
5.5.230.0030.07017.54
5.5.220.0030.06717.39
5.5.210.0030.07017.48
5.5.200.0000.05317.61
5.5.190.0030.07017.52
5.5.180.0030.07017.24
5.5.160.0070.06317.47
5.5.150.0030.06717.59
5.5.140.0000.07017.37
5.5.130.0000.06317.21
5.5.120.0000.07017.24
5.5.110.0070.06317.47
5.5.100.0070.06717.38
5.5.90.0070.06317.41
5.5.80.0000.06017.02
5.5.70.0030.07017.41
5.5.60.0000.06717.23
5.5.50.0030.06317.00
5.5.40.0000.07017.41
5.5.30.0030.06717.25
5.5.20.0000.07017.09
5.5.10.0070.06717.08
5.5.00.0030.06717.32
5.4.450.0100.06719.25
5.4.440.0070.07019.30
5.4.430.0030.06319.26
5.4.420.0070.06719.40
5.4.410.0070.06719.35
5.4.400.0030.05319.00
5.4.390.0000.07018.93
5.4.380.0030.06718.99
5.4.370.0000.07019.00
5.4.360.0000.07019.07
5.4.350.0000.07019.00
5.4.340.0030.07018.98
5.4.320.0070.06718.93
5.4.310.0100.06019.00
5.4.300.0000.07018.99
5.4.290.0030.06719.15
5.4.280.0030.07018.94
5.4.270.0100.06019.15
5.4.260.0000.07019.00
5.4.250.0030.06718.93
5.4.240.0030.06719.10
5.4.230.0000.07018.91
5.4.220.0000.07019.14
5.4.210.0000.07018.96
5.4.200.0070.06018.97
5.4.190.0000.07019.14
5.4.180.0030.06718.99
5.4.170.0030.06718.93
5.4.160.0030.05719.21
5.4.150.0000.07319.00
5.4.140.0000.07016.31
5.4.130.0030.06316.48
5.4.120.0000.06716.55
5.4.110.0030.06716.52
5.4.100.0030.06316.48
5.4.90.0030.06316.13
5.4.80.0030.06316.21
5.4.70.0030.06316.17
5.4.60.0070.06016.16
5.4.50.0000.06716.16
5.4.40.0000.06316.42
5.4.30.0070.06016.49
5.4.20.0030.06016.36
5.4.10.0000.06716.49
5.4.00.0070.06015.93
5.3.290.0030.07014.66
5.3.280.0030.06714.63
5.3.270.0000.07014.45
5.3.260.0030.06714.43
5.3.250.0000.07014.52
5.3.240.0030.05714.53
5.3.230.0030.06014.42
5.3.220.0000.06014.58
5.3.210.0000.07314.35
5.3.200.0100.06014.49
5.3.190.0030.06714.57
5.3.180.0000.06314.42
5.3.170.0100.05714.65
5.3.160.0000.07014.46
5.3.150.0000.06714.62
5.3.140.0070.06314.43
5.3.130.0030.07014.54
5.3.120.0000.06714.33
5.3.110.0100.06314.33
5.3.100.0030.06313.98
5.3.90.0030.06013.96
5.3.80.0000.06313.84
5.3.70.0000.06713.96
5.3.60.0030.06313.82
5.3.50.0030.06313.89
5.3.40.0070.06013.77
5.3.30.0030.06313.98
5.3.20.0030.05313.47
5.3.10.0030.06013.54
5.3.00.0070.05313.48
5.2.170.0030.05311.20
5.2.160.0070.05011.30
5.2.150.0030.05711.03
5.2.140.0030.05311.21
5.2.130.0000.05711.01
5.2.120.0000.05311.02
5.2.110.0030.05311.11
5.2.100.0030.05311.09
5.2.90.0030.05011.04
5.2.80.0030.05311.25
5.2.70.0030.05311.11
5.2.60.0000.05710.99
5.2.50.0000.06010.80
5.2.40.0000.05711.14
5.2.30.0070.05011.13
5.2.20.0000.05710.74
5.2.10.0030.04710.78
5.2.00.0030.05310.84
5.1.60.0070.04310.02
5.1.50.0030.03710.02
5.1.40.0070.04010.02
5.1.30.0000.05010.41
5.1.20.0000.05010.23
5.1.10.0070.04310.02
5.1.00.0000.05010.31
5.0.50.0070.03710.02
5.0.40.0030.03010.02
5.0.30.0000.05710.02
5.0.20.0030.03010.02
5.0.10.0000.03710.02
5.0.00.0030.05310.02
4.4.90.0000.02710.02
4.4.80.0000.03010.02
4.4.70.0070.02710.02
4.4.60.0000.03010.02
4.4.50.0000.03010.02
4.4.40.0030.04310.02
4.4.30.0030.02710.02
4.4.20.0000.03010.02
4.4.10.0000.03310.02
4.4.00.0000.04010.02
4.3.110.0000.03010.02
4.3.100.0030.02710.02
4.3.90.0000.02710.02
4.3.80.0000.04710.02
4.3.70.0030.02710.02
4.3.60.0000.03010.02
4.3.50.0070.02710.02
4.3.40.0030.04310.02
4.3.30.0000.03310.02
4.3.20.0030.03010.02
4.3.10.0000.02710.02
4.3.00.0030.03010.02