3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo mb_strlen('รกรก');
based on 9kk52

Here you find the average performance (time & memory) of each version. A greyed 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.0090.00018.88
7.1.100.0030.00918.08
7.1.70.0040.00417.09
7.1.60.0090.00919.50
7.1.50.0040.01816.54
7.1.00.0030.07722.44
7.0.200.0600.00714.56
7.0.140.0070.06722.12
7.0.60.0100.04019.95
7.0.50.0070.08317.84
7.0.40.0030.04320.06
7.0.30.0330.03020.18
7.0.20.0200.04320.33
7.0.10.0270.06020.22
7.0.00.0000.04320.04
5.6.280.0000.07321.01
5.6.210.0030.07720.48
5.6.200.0130.07718.22
5.6.190.0030.04320.49
5.6.180.0270.07720.23
5.6.170.0230.06720.49
5.6.160.0030.04320.44
5.6.150.0100.07718.12
5.6.140.0030.04018.07
5.6.130.0130.07318.11
5.6.120.0030.05021.04
5.6.110.0100.08020.96
5.6.100.0130.06720.84
5.6.90.0070.07020.96
5.6.80.0270.06320.39
5.6.70.0270.08020.38
5.5.350.0270.07720.41
5.5.340.0100.05318.02
5.5.330.0070.08720.25
5.5.320.0100.07020.07
5.5.310.0200.04720.29
5.5.300.0030.05718.01
5.5.290.0070.07017.87
5.5.280.0030.04720.86
5.5.270.0130.04720.87
5.5.260.0200.07320.75
5.5.250.0100.06720.54
5.5.240.0030.08720.15
5.4.450.0830.07719.47
5.4.440.1000.08019.48
5.4.430.1000.06019.32
5.4.420.0330.05319.54
5.4.410.0530.05318.98
5.4.400.0830.04718.60
5.4.390.0230.04718.52
5.4.380.0170.05718.63
5.4.370.0230.05018.49
5.4.360.0100.06318.59
5.4.350.0330.06318.49
5.4.340.0130.05318.72
5.4.320.0230.05318.73
5.4.310.0170.05718.58
5.4.300.0500.06018.63
5.4.290.0270.04718.49
5.4.280.0130.06318.73
5.4.270.0370.05718.69
5.4.260.0200.06318.45
5.4.250.0230.05018.62
5.4.240.0700.05018.71
5.4.230.0400.05018.73
5.4.220.0300.07018.66
5.4.210.0370.06318.71
5.4.200.0200.05016.48
5.4.190.0370.04018.66
5.4.180.0670.05318.49
5.4.170.0270.05318.66
5.4.160.1270.05318.71
5.4.150.0200.05318.47
5.4.140.0400.05716.36
5.4.130.0270.06716.16
5.4.120.0170.05016.26
5.4.110.0200.04716.25
5.4.100.0700.05316.16
5.4.90.0230.04716.35
5.4.80.0130.05316.14
5.4.70.0230.05016.14
5.4.60.0230.04316.16
5.4.50.0230.04016.28
5.4.40.0230.05016.05
5.4.30.0600.05016.11
5.4.20.1230.07716.12
5.4.10.0370.04316.18
5.4.00.0230.05015.52
5.3.290.0370.06014.57
5.3.280.0370.06014.50
5.3.270.1200.06314.59
5.3.260.1470.06314.62
5.3.250.0400.06014.58
5.3.240.0270.07314.51
5.3.230.0270.05714.64
5.3.220.0170.06314.47
5.3.210.0170.07314.61
5.3.200.1400.07314.53
5.3.190.1300.07714.68
5.3.180.0300.05314.50
5.3.170.0130.06314.54
5.3.160.0170.05314.59
5.3.150.0930.05714.59
5.3.140.0230.05014.48
5.3.130.1130.05014.46
5.3.120.0370.05014.44
5.3.110.0200.06014.61
5.3.100.0300.06714.01
5.3.90.0270.07314.03
5.3.80.0370.05313.95
5.3.70.0200.05314.10
5.3.60.0200.05313.89
5.3.50.0170.06314.04
5.3.40.0370.04013.92
5.3.30.0230.07013.93
5.3.20.0170.06313.67
5.3.10.0170.05713.57
5.3.00.0130.06013.72
5.2.170.0200.04311.31
5.2.160.0100.05311.20
5.2.150.0170.04311.31
5.2.140.0230.05711.10
5.2.130.0230.03711.13
5.2.120.0400.02711.07
5.2.110.0170.05011.02
5.2.100.0230.05311.06
5.2.90.1230.04311.25
5.2.80.0070.06011.05
5.2.70.0170.04311.13
5.2.60.0830.04011.10
5.2.50.1200.05011.07
5.2.40.0230.03711.05
5.2.30.0130.04710.92
5.2.20.0200.04010.98
5.2.10.0270.04310.90
5.2.00.0130.04010.73
5.1.60.0100.05310.12
5.1.50.0200.0379.97
5.1.40.0100.0539.99
5.1.30.0200.03310.39
5.1.20.1530.04710.52
5.1.10.0270.02310.10
5.1.00.0170.03310.19
5.0.50.0100.0308.65
5.0.40.0200.0238.47
5.0.30.0100.0438.25
5.0.20.0030.0308.31
5.0.10.0100.0278.20
5.0.00.0030.0478.29
4.4.90.0070.0335.99
4.4.80.0100.0275.98
4.4.70.0100.0235.85
4.4.60.0030.0335.91
4.4.50.0070.0275.91
4.4.40.0070.0375.93
4.4.30.0070.0305.82
4.4.20.0030.0275.99
4.4.10.0270.0205.95
4.4.00.0200.0336.01
4.3.110.0070.0305.84
4.3.100.0030.0275.82
4.3.90.0100.0235.87
4.3.80.0030.0475.77
4.3.70.0070.0305.77
4.3.60.0170.0205.79
4.3.50.0930.0235.80
4.3.40.0130.0335.82
4.3.30.0030.0304.64
4.3.20.0070.0204.52
4.3.10.0070.0234.48
4.3.00.0230.0277.15