3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = 'В 14.00 возле горсовета собрались сотни людей, которые выступают за единую Украину и против ввода российских вой..'; $t2 = mb_substr($t, 0, strlen($t)); var_dump(strlen($t2));

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.0070.00716.64
7.3.00.0030.01016.77
7.2.130.0070.01016.59
7.2.120.0060.00616.57
7.2.110.0070.00716.57
7.2.100.0040.00716.77
7.2.90.0030.01016.76
7.2.80.0090.00616.96
7.2.70.0060.00716.69
7.2.60.0020.01416.57
7.2.50.0040.00816.78
7.2.40.0070.01016.50
7.2.30.0070.00716.97
7.2.20.0040.00817.14
7.2.10.0060.00316.70
7.2.00.0070.00617.97
7.1.250.0090.00615.90
7.1.200.0090.00315.62
7.1.100.0090.00618.18
7.1.70.0040.00417.14
7.1.60.0100.00017.31
7.1.50.0030.01717.05
7.1.00.0030.03322.57
7.0.200.0070.01016.62
7.0.140.0070.06722.08
7.0.60.0100.07719.92
7.0.50.0070.08017.84
7.0.40.0100.05720.03
7.0.30.0270.05720.00
7.0.20.0200.08720.24
7.0.10.0200.06020.20
7.0.00.0070.07720.08
5.6.280.0100.06720.83
5.6.210.0000.05320.69
5.6.200.0130.07318.05
5.6.190.0130.04320.56
5.6.180.3600.04020.35
5.6.170.0300.07320.33
5.6.160.0000.04320.37
5.6.150.0200.06718.18
5.6.140.0070.08318.07
5.6.130.0070.03718.14
5.6.120.0100.06320.99
5.6.110.0130.06721.11
5.6.100.0100.07320.96
5.6.90.0030.08720.99
5.6.80.0100.07720.52
5.6.70.0100.03320.35
5.5.350.0270.04720.36
5.5.340.0070.05017.92
5.5.330.0070.07720.20
5.5.320.0270.04020.32
5.5.310.0230.07020.21
5.5.300.0000.04017.91
5.5.290.0070.04717.97
5.5.280.0070.06320.84
5.5.270.0170.07320.75
5.5.260.0070.08020.87
5.5.250.0200.04720.49
5.5.240.0030.04720.25
5.4.450.0200.06319.48
5.4.440.0230.04319.41
5.4.430.0270.05019.41
5.4.420.0300.07319.20
5.4.410.0170.05019.45
5.4.400.0200.05319.04
5.4.390.0300.06319.09
5.4.380.0170.07719.10
5.4.370.0170.07719.09
5.4.360.0300.06719.27
5.4.350.0330.06319.04
5.4.340.0170.04019.16
5.4.320.0330.06719.22
5.4.310.0270.06018.88
5.4.300.0170.05719.08
5.4.290.0270.04719.09
5.4.280.0170.05319.21
5.4.270.0230.04719.24
5.4.260.0270.05318.79
5.4.250.0230.07318.91
5.4.240.0300.06719.09
5.4.230.0230.06319.07
5.4.220.0270.06319.24
5.4.210.0300.03718.87
5.4.200.0200.04019.12
5.4.190.0230.04718.91
5.4.180.0130.04019.05
5.4.170.0230.03719.07
5.4.160.0200.03019.06
5.4.150.0130.04019.19
5.4.140.0170.03316.45
5.4.130.0130.03716.25
5.4.120.0130.04716.29
5.4.110.0170.03716.46
5.4.100.0130.03716.23
5.4.90.0100.04016.39
5.4.80.0070.04016.19
5.4.70.0100.04316.42
5.4.60.0170.03316.17
5.4.50.0200.03716.27
5.4.40.0130.03716.20
5.4.30.0170.03316.20
5.4.20.0330.02716.32
5.4.10.0170.03316.36
5.4.00.0200.03015.99
5.3.290.0270.06314.75
5.3.280.0200.04714.44
5.3.270.0200.04314.55
5.3.260.0070.04314.45
5.3.250.0170.04314.55
5.3.240.0130.03714.50
5.3.230.0200.07014.43
5.3.220.0130.04014.41
5.3.210.0200.03314.42
5.3.200.0170.04014.44
5.3.190.0170.03714.52
5.3.180.0100.04014.46
5.3.170.0130.04014.59
5.3.160.0170.03314.55
5.3.150.0230.03014.54
5.3.140.0130.04714.39
5.3.130.0270.04014.49
5.3.120.0170.03714.45
5.3.110.0200.03314.59
5.3.100.0270.02713.96
5.3.90.0170.03313.87
5.3.80.0230.03013.98
5.3.70.0130.03713.90
5.3.60.0130.03713.97
5.3.50.0300.03313.86
5.3.40.0170.03313.99
5.3.30.0170.03713.86
5.3.20.0170.04013.64
5.3.10.0200.03313.51
5.3.00.0230.03013.66
5.2.170.0200.03012.14
5.2.160.0130.03712.14
5.2.150.0100.03012.14
5.2.140.0070.04012.14
5.2.130.0130.02712.14
5.2.120.0100.03012.14
5.2.110.0170.02312.14
5.2.100.0170.05012.14
5.2.90.0270.02312.14
5.2.80.0170.03012.14
5.2.70.0130.04012.14
5.2.60.0100.03012.14
5.2.50.0200.04712.14
5.2.40.0230.03012.14
5.2.30.0130.05312.14
5.2.20.0300.04712.14
5.2.10.0130.03712.14
5.2.00.0200.03012.14
5.1.60.0130.03012.14
5.1.50.0170.03012.14
5.1.40.0230.04012.14
5.1.30.0130.03312.14
5.1.20.0100.04712.14
5.1.10.0130.05712.14
5.1.00.0230.04312.14
5.0.50.0200.03712.14
5.0.40.0100.04312.14
5.0.30.0070.03312.14
5.0.20.0070.02012.14
5.0.10.0100.02012.14
5.0.00.0070.04012.14
4.4.90.0070.01312.14
4.4.80.0030.01712.14
4.4.70.0100.02012.14
4.4.60.0070.02012.14
4.4.50.0130.01712.14
4.4.40.0100.05012.14
4.4.30.0100.03012.14
4.4.20.0030.02312.14
4.4.10.0030.03712.14
4.4.00.0100.04712.14
4.3.110.0130.02012.14
4.3.100.0130.01012.14
4.3.90.0070.02012.14
4.3.80.0130.02012.14
4.3.70.0070.02012.14
4.3.60.0070.02012.14
4.3.50.0070.01712.14
4.3.40.0100.02012.14
4.3.30.0000.02012.14
4.3.20.0170.02012.14
4.3.10.0030.03012.14
4.3.00.0130.01312.14