3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mb_internal_encoding('UTF-8'); mb_regex_encoding('UTF-8'); var_dump(mb_eregi('Ü','ü')); var_dump(mb_ereg("[Ü]","ü"));

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.0040.01116.46
7.3.00.0060.00916.16
7.2.130.0040.01116.87
7.2.120.0130.00016.73
7.2.110.0000.01216.67
7.2.100.0090.00316.97
7.2.90.0070.00716.61
7.2.80.0000.01116.74
7.2.70.0040.01216.68
7.2.60.0090.00616.48
7.2.50.0090.00616.63
7.2.40.0120.00316.68
7.2.30.0000.01016.60
7.2.20.0000.01416.79
7.2.10.0090.00316.64
7.2.00.0040.00917.85
7.1.250.0100.00715.91
7.1.200.0070.00716.04
7.1.100.0080.00817.88
7.1.70.0030.00917.24
7.1.60.0040.02219.50
7.1.50.0060.01617.19
7.1.00.0000.08022.68
7.0.200.0000.00816.80
7.0.140.0070.07322.07
7.0.60.0170.07720.04
7.0.50.0130.08017.96
7.0.40.0170.07720.26
7.0.30.0270.05020.21
7.0.20.0070.05020.32
7.0.10.0300.08020.25
7.0.00.0100.03720.24
5.6.280.0000.07320.85
5.6.210.0030.04720.57
5.6.200.0030.04018.30
5.6.190.0170.08020.59
5.6.180.0300.07720.57
5.6.170.0330.08020.65
5.6.160.0070.05020.44
5.6.150.0070.03718.26
5.6.140.0070.07718.27
5.6.130.0100.07718.19
5.6.120.0070.05321.09
5.6.110.0100.08321.12
5.6.100.0030.08321.21
5.6.90.0070.05721.08
5.6.80.0030.07020.61
5.6.70.0270.06720.44
5.5.350.0100.05020.45
5.5.340.0070.04018.05
5.5.330.0070.08320.26
5.5.320.0170.07720.55
5.5.310.0230.06720.31
5.5.300.0070.04018.02
5.5.290.0030.08318.00
5.5.280.0070.04320.84
5.5.270.0030.09020.83
5.5.260.0230.07020.93
5.5.250.0030.04020.69
5.5.240.0030.03720.35
5.4.450.0630.05719.14
5.4.440.0730.05319.50
5.4.430.0400.05019.60
5.4.420.0730.05019.23
5.4.410.0730.06019.34
5.4.400.0230.04318.75
5.4.390.0230.04718.53
5.4.380.0100.06318.62
5.4.370.0030.06718.62
5.4.360.0200.05318.65
5.4.350.0170.05318.77
5.4.340.0200.05018.52
5.4.320.0200.05718.71
5.4.310.0170.05318.66
5.4.300.0230.04718.46
5.4.290.0170.05018.72
5.4.280.0200.05318.49
5.4.270.0100.06018.59
5.4.260.0200.05318.69
5.4.250.0330.04718.58
5.4.240.0170.06718.58
5.4.230.0230.05018.48
5.4.220.0130.06018.64
5.4.210.0100.06018.68
5.4.200.0230.04316.50
5.4.190.0170.05018.63
5.4.180.0200.05018.48
5.4.170.0100.06318.70
5.4.160.0270.05018.68
5.4.150.0200.06718.72
5.4.140.0070.06316.22
5.4.130.0170.05316.12
5.4.120.0100.07016.18
5.4.110.0170.05716.27
5.4.100.0300.06316.12
5.4.90.0270.04016.40
5.4.80.0370.04316.05
5.4.70.0130.05316.14
5.4.60.0130.05316.28
5.4.50.0200.04316.05
5.4.40.0200.04716.16
5.4.30.0130.05316.13
5.4.20.0130.05316.18
5.4.10.0230.04716.11
5.4.00.0130.05315.57
5.3.290.0200.05714.59
5.3.280.0170.05314.50
5.3.270.0270.04314.60
5.3.260.0200.06714.53
5.3.250.0270.04314.57
5.3.240.0170.07014.65
5.3.230.0230.04314.56
5.3.220.0200.04714.65
5.3.210.0200.05714.51
5.3.200.0270.04014.55
5.3.190.0230.05014.47
5.3.180.0230.04314.55
5.3.170.0100.05314.65
5.3.160.0130.05014.63
5.3.150.0100.05714.54
5.3.140.0130.05314.55
5.3.130.0100.06014.54
5.3.120.0130.05714.45
5.3.110.0170.05014.59
5.3.100.0270.04014.13
5.3.90.0130.05313.98
5.3.80.0330.03313.95
5.3.70.0170.05313.96
5.3.60.0070.06314.07
5.3.50.0170.05013.84
5.3.40.0130.06013.93
5.3.30.0170.04713.88
5.3.20.0100.05313.60
5.3.10.0170.04713.73
5.3.00.0070.07313.73
5.2.170.0170.04011.28
5.2.160.0100.04311.12
5.2.150.0070.04711.15
5.2.140.0130.04011.28
5.2.130.0130.04011.07
5.2.120.0100.04011.14
5.2.110.0100.04311.14
5.2.100.0130.03711.13
5.2.90.0200.03011.07
5.2.80.0100.04311.07
5.2.70.0130.04011.14
5.2.60.0130.04311.22
5.2.50.0130.05010.98
5.2.40.0100.04011.02
5.2.30.0170.03311.10
5.2.20.0100.04010.95
5.2.10.0170.03310.95
5.2.00.0130.04010.76
5.1.60.0130.0339.99
5.1.50.0100.0339.99
5.1.40.0130.03010.08
5.1.30.0100.03710.32
5.1.20.0100.04010.38
5.1.10.0100.03710.10
5.1.00.0070.04010.08
5.0.50.0130.0238.56
5.0.40.0130.0208.54
5.0.30.0100.0438.21
5.0.20.0070.0308.26
5.0.10.0070.0278.16
5.0.00.0130.0378.28
4.4.90.0030.0275.82
4.4.80.0070.0235.91
4.4.70.0030.0305.91
4.4.60.0000.0275.89
4.4.50.0000.0305.88
4.4.40.0030.0375.93
4.4.30.0030.0235.92
4.4.20.0130.0235.87
4.4.10.0000.0305.96
4.4.00.0030.0375.86
4.3.110.0070.0235.80
4.3.100.0030.0235.82
4.3.90.0130.0135.78
4.3.80.0070.0335.82
4.3.70.0030.0235.86
4.3.60.0130.0135.77
4.3.50.0030.0235.77
4.3.40.0030.0335.73
4.3.30.0030.0234.58
4.3.20.0130.0134.50
4.3.10.0070.0204.49
4.3.00.0170.0176.75