3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $trademark = 'Корсар'; for ($i = 1; $i < 2000; $i++) { md5($trademark); }
based on B91KA

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.60.0060.01016.69
7.2.00.0000.01018.98
7.1.200.0100.00715.79
7.1.100.0000.01218.29
7.1.70.0000.00916.91
7.1.60.0030.02019.50
7.1.50.0240.01434.95
7.1.00.0100.07322.54
7.0.200.0700.00314.85
7.0.140.0000.07722.09
7.0.60.0230.06719.90
7.0.50.0030.08317.86
7.0.40.0030.08320.27
7.0.30.0500.05020.20
7.0.20.0230.04720.13
7.0.10.0000.04320.03
7.0.00.0100.08320.23
5.6.280.0030.07320.90
5.6.210.0000.05020.61
5.6.200.0100.08318.09
5.6.190.0100.07020.57
5.6.180.0300.06320.56
5.6.170.0230.04020.41
5.6.160.0030.09020.71
5.6.150.0100.04718.11
5.6.140.0130.06018.13
5.6.130.0070.06018.15
5.6.120.0000.07021.12
5.6.110.0030.09020.98
5.6.100.0270.06721.08
5.6.90.0100.04720.95
5.6.80.0130.07320.36
5.5.350.4200.03720.36
5.5.340.0070.05317.92
5.5.330.0000.05020.07
5.5.320.0470.07020.51
5.5.310.0430.07020.41
5.5.300.0070.05017.91
5.5.290.0070.04017.94
5.5.280.0070.06320.96
5.5.270.0170.07320.64
5.5.260.0100.08020.72
5.5.250.0000.04320.58
5.5.240.0330.06320.23
5.4.450.0270.05319.10
5.4.440.1070.04719.49
5.4.430.0570.07319.48
5.4.420.1100.06319.46
5.4.410.0100.06018.94
5.4.400.1170.06718.62
5.4.390.1470.06718.59
5.4.380.1530.06318.68
5.4.370.1370.06018.66
5.4.360.1570.03318.57
5.4.350.1130.06718.50
5.4.340.1470.05718.65
5.4.320.1330.07318.55
5.4.310.1300.04018.50
5.4.300.1200.06018.67
5.4.290.1330.07318.63
5.4.280.1170.06318.51
5.4.270.1070.06318.56
5.4.260.1230.05718.45
5.4.250.0200.05318.68
5.4.240.0230.06318.52
5.4.230.0170.05718.59
5.4.220.0900.06318.48
5.4.210.1170.06718.63
5.4.200.1170.05716.43
5.4.190.1270.06018.59
5.4.180.1330.06018.70
5.4.170.1130.07018.70
5.4.160.1200.05318.54
5.4.150.1200.05318.62
5.4.140.1100.05716.13
5.4.130.1030.05016.19
5.4.120.1130.07316.16
5.4.110.1370.06016.05
5.4.100.1370.05716.32
5.4.90.1330.04716.22
5.4.80.1270.06016.04
5.4.70.1430.05316.32
5.4.60.1400.07016.22
5.4.50.1230.05316.22
5.4.40.1330.06316.03
5.4.30.1330.06316.18
5.4.20.1270.05716.05
5.4.10.1130.05716.15
5.4.00.1230.06315.69
5.3.290.1270.06314.75
5.3.280.1270.06014.64
5.3.270.1270.06314.59
5.3.260.1630.06014.51
5.3.250.1370.05314.70
5.3.240.1430.05014.55
5.3.230.1300.07014.57
5.3.220.1370.05714.66
5.3.210.1270.06314.49
5.3.200.1600.05014.66
5.3.190.1100.06314.54
5.3.180.1130.05714.46
5.3.170.1200.05714.52
5.3.160.1200.05714.51
5.3.150.1230.06314.51
5.3.140.1230.06314.60
5.3.130.1200.06014.57
5.3.120.1170.05714.62
5.3.110.1230.05714.57
5.3.100.1100.05713.95
5.3.90.1430.06313.95
5.3.80.1170.05013.91
5.3.70.1070.05013.96
5.3.60.1270.06013.93
5.3.50.1170.08013.93
5.3.40.1000.06313.88
5.3.30.1270.07713.87
5.3.20.1070.05713.60
5.3.10.1100.05013.61
5.3.00.1270.06313.73
5.2.170.1230.05711.14
5.2.160.1030.06011.18
5.2.150.0930.04011.05
5.2.140.0930.06711.09
5.2.130.1200.04011.03
5.2.120.1030.04711.14
5.2.110.1100.04311.03
5.2.100.1070.04711.10
5.2.90.1230.05011.17
5.2.80.0900.05011.23
5.2.70.1000.05711.08
5.2.60.1100.06710.97
5.2.50.1070.05310.93
5.2.40.0930.04311.00
5.2.30.0770.04710.93
5.2.20.0800.05711.02
5.2.10.0800.05710.87
5.2.00.1000.05310.66
5.1.60.0930.05310.18
5.1.50.0900.04710.08
5.1.40.0830.05010.07
5.1.30.0900.04310.46
5.1.20.0830.05310.44
5.1.10.0670.05310.06
5.1.00.0830.04710.16
5.0.50.0370.0378.58
5.0.40.0500.0438.39
5.0.30.0370.0638.39
5.0.20.0430.0378.29
5.0.10.0570.0408.20
5.0.00.0500.0638.13
4.4.90.0400.0376.00
4.4.80.0500.0275.89
4.4.70.0430.0335.86
4.4.60.0470.0305.91
4.4.50.0370.0275.88
4.4.40.0370.0435.86
4.4.30.0370.0335.89
4.4.20.0400.0305.87
4.4.10.0370.0305.94
4.4.00.0370.0435.90
4.3.110.0330.0335.76
4.3.100.0300.0305.73
4.3.90.0430.0335.80
4.3.80.0370.0535.79
4.3.70.0370.0405.80
4.3.60.0300.0305.78
4.3.50.0370.0275.89
4.3.40.0470.0405.77
4.3.30.0170.0304.59
4.3.20.0170.0304.65
4.3.10.0270.0234.54
4.3.00.0030.0276.90