3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "Region Luzern, Apéro"; var_dump(intval(base_convert(bin2hex("Region Luzern, Apéro".session_id()), 16, 10)));
based on dC4N4

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.0150.01019.28
7.1.100.0080.00417.75
7.1.70.0100.00217.21
7.1.60.0160.01019.50
7.1.50.0070.01316.70
7.1.00.0000.08022.64
7.0.200.0730.00714.67
7.0.140.0070.07722.22
7.0.60.0100.07720.00
7.0.50.0030.08017.83
7.0.40.0030.08320.26
7.0.30.0300.07720.43
7.0.20.0300.05020.40
7.0.10.0000.09320.43
7.0.00.0100.08320.23
5.6.280.0000.07721.21
5.6.210.0170.07320.75
5.6.200.0030.06718.18
5.6.190.0030.04720.67
5.6.180.0370.08020.84
5.6.170.0200.06720.67
5.6.160.0070.09020.63
5.6.150.0100.04018.22
5.6.140.0100.08318.16
5.6.130.0100.08718.31
5.6.120.0170.03321.10
5.6.110.0200.05021.14
5.6.100.0170.07721.13
5.6.90.0030.07721.27
5.6.80.0070.07020.46
5.6.70.4230.04320.54
5.5.350.0100.08020.64
5.5.340.0030.05318.05
5.5.330.0070.06720.43
5.5.320.0070.08020.32
5.5.310.0270.08020.41
5.5.300.0030.08318.04
5.5.290.0030.08318.11
5.5.280.0030.05020.89
5.5.270.0070.08721.06
5.5.260.0070.03720.92
5.5.250.0200.06720.80
5.5.240.0200.07020.39
5.4.450.0000.04019.20
5.4.440.0100.04019.30
5.4.430.0030.08019.60
5.4.420.0000.04719.48
5.4.410.0030.03719.36
5.4.400.0000.03719.29
5.4.390.0070.03018.85
5.4.380.0000.04019.38
5.4.370.0000.03718.95
5.4.360.0000.03719.15
5.4.350.0000.04318.89
5.4.340.0030.03319.15
5.4.320.0000.03719.19
5.4.310.0030.05319.28
5.4.300.0030.03319.14
5.4.290.0030.03319.25
5.4.280.0030.03719.20
5.4.270.0030.03319.12
5.4.260.0030.03319.15
5.4.250.0030.03319.09
5.4.240.0000.03719.25
5.4.230.0100.03019.26
5.4.220.0000.04019.27
5.4.210.0030.03318.97
5.4.200.0000.03718.86
5.4.190.0030.03319.28
5.4.180.0000.03718.86
5.4.170.0030.03318.86
5.4.160.0000.05719.03
5.4.150.0130.03319.28
5.4.140.0030.03716.28
5.4.130.0030.03716.34
5.4.120.0100.04716.44
5.4.110.0130.04016.22
5.4.100.0130.05716.54
5.4.90.0170.04716.52
5.4.80.0100.04316.43
5.4.70.0170.03716.33
5.4.60.0130.03716.38
5.4.50.0100.04316.17
5.4.40.0100.04716.51
5.4.30.0170.03716.51
5.4.20.0170.03716.49
5.4.10.0170.04316.49
5.4.00.0170.03015.93
5.3.290.0070.03014.68
5.3.280.0000.03714.55
5.3.270.0030.03714.51
5.3.260.0000.06314.44
5.3.250.0000.03714.47
5.3.240.0100.03314.45
5.3.230.0030.03714.64
5.3.220.0000.04714.65
5.3.210.0070.04314.40
5.3.200.0100.06014.42
5.3.190.0130.06314.51
5.3.180.0270.06314.50
5.3.170.0170.05714.39
5.3.160.0130.04714.43
5.3.150.0170.04014.39
5.3.140.0170.03714.64
5.3.130.0130.04314.40
5.3.120.0230.06314.40
5.3.110.0170.06314.38
5.3.100.0130.03313.91
5.3.90.0200.04013.97
5.3.80.0170.04013.89
5.3.70.0130.03713.81
5.3.60.0170.04013.88
5.3.50.0130.03713.89
5.3.40.0130.03713.97
5.3.30.0200.03313.70
5.3.20.0100.04713.65
5.3.10.0130.03313.70
5.3.00.0200.04313.54
5.2.170.0130.03011.08
5.2.160.0130.02711.23
5.2.150.0130.03711.19
5.2.140.0070.03711.03
5.2.130.0030.03011.04
5.2.120.0070.03011.14
5.2.110.0100.03310.98
5.2.100.0170.03710.95
5.2.90.0200.02711.04
5.2.80.0230.05710.94
5.2.70.0200.03311.00
5.2.60.0100.03011.10
5.2.50.0170.05310.95
5.2.40.0100.03310.83
5.2.30.0100.02710.98
5.2.20.0100.03010.86
5.2.10.0070.03310.90
5.2.00.0170.02310.57
5.1.60.0100.02710.41
5.1.50.0170.02710.41
5.1.40.0200.03710.41
5.1.30.0070.03010.41
5.1.20.0170.02310.50
5.1.10.0070.03010.41
5.1.00.0130.02310.41
5.0.50.0100.03010.41
5.0.40.0100.04010.41
5.0.30.0030.03310.41
5.0.20.0130.02710.41
5.0.10.0100.02010.41
5.0.00.0130.02310.41
4.4.90.0030.01710.41
4.4.80.0030.02710.41
4.4.70.0100.01710.41
4.4.60.0030.01710.41
4.4.50.0000.01710.41
4.4.40.0030.02710.41
4.4.30.0100.01310.41
4.4.20.0030.01710.41
4.4.10.0130.03010.41
4.4.00.0070.02710.41
4.3.110.0000.01710.41
4.3.100.0030.01710.41
4.3.90.0170.03310.41
4.3.80.0070.04010.41
4.3.70.0130.02710.41
4.3.60.0070.01710.41
4.3.50.0030.01710.41
4.3.40.0070.05310.41
4.3.30.0070.03310.41
4.3.20.0000.02010.41
4.3.10.0000.02010.41
4.3.00.0030.01310.41