3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 'a';

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.130.0220.00514.37
7.2.120.0440.00814.45
7.2.110.0770.00314.39
7.2.100.0760.00514.38
7.2.90.1180.01014.45
7.2.80.1000.00714.39
7.2.70.1320.00714.71
7.2.60.1300.00714.62
7.2.50.1350.01014.82
7.2.40.1090.00714.82
7.2.30.1300.00914.87
7.2.20.1470.00614.77
7.2.10.1290.00714.79
7.2.00.0720.00814.77
7.1.250.0200.00713.36
7.1.240.0590.00913.36
7.1.230.1140.00613.43
7.1.220.0950.00813.45
7.1.210.1530.01113.39
7.1.200.1330.00713.80
7.1.190.1250.00813.52
7.1.180.1480.00713.44
7.1.170.1380.00513.55
7.1.160.1140.00513.55
7.1.150.1290.01013.49
7.1.140.1080.00913.49
7.1.130.0530.00813.58
7.1.120.0750.00813.59
7.1.110.1260.00613.52
7.1.100.0820.01113.49
7.1.90.1270.01113.58
7.1.80.0820.00813.67
7.1.70.0920.00813.53
7.1.60.0920.01122.64
7.1.50.0870.00922.63
7.1.40.0760.00922.51
7.1.30.0850.00622.55
7.1.20.0810.01222.62
7.1.10.0580.00713.48
7.1.00.0690.00613.60
7.0.330.0280.00913.21
7.0.320.0650.00813.11
7.0.310.0990.00813.21
7.0.300.1030.00613.25
7.0.290.1210.00813.36
7.0.280.1540.00613.20
7.0.270.0890.00713.34
7.0.260.1260.00713.20
7.0.250.1230.00813.31
7.0.240.1060.00913.45
7.0.230.1330.00413.41
7.0.220.0980.00713.40
7.0.210.0920.00713.35
7.0.200.1090.00813.34
7.0.190.0920.00613.44
7.0.180.0690.00813.42
7.0.170.0830.00613.30
7.0.160.0750.00613.30
7.0.150.0660.00813.31
7.0.140.0540.00613.35
7.0.130.0660.00513.40
7.0.120.0520.01013.36
7.0.110.0980.00713.31
7.0.100.0500.01113.21
7.0.90.0540.00713.35
7.0.80.0670.00713.33
7.0.70.0530.00713.33
7.0.60.0550.00913.32
7.0.50.0560.00713.39
7.0.40.0570.00713.32
7.0.30.0610.00913.39
7.0.20.0550.00713.38
7.0.10.0510.00913.45
7.0.00.0560.00913.33
hhvm-3.22.00.1130.20190.32
hhvm-3.21.30.1210.19889.29
hhvm-3.21.00.1160.22389.22
hhvm-3.20.20.1200.20689.59
hhvm-3.19.20.1260.20488.63
hhvm-3.18.50.0950.20987.22
hhvm-3.18.40.1150.22587.27
hhvm-3.17.30.1070.18286.53
hhvm-3.15.40.1100.17084.11
hhvm-3.13.20.1210.18495.81
hhvm-3.12.140.1220.19694.39
hhvm-3.11.10.1080.20286.44
hhvm-3.10.10.1040.17583.80
5.6.380.0050.01113.95
5.6.370.0120.00813.99
5.6.360.0090.01214.10
5.6.350.0100.01013.88
5.6.340.0100.01113.97
5.6.330.0150.00514.10
5.6.320.0110.00814.07
5.6.310.0110.00914.05
5.6.300.0100.00914.04
5.6.290.0130.00614.02
5.6.280.0130.00614.19
5.6.270.0140.00714.09
5.6.260.0150.00714.13
5.6.250.0150.00614.00
5.6.240.0130.00914.01
5.6.230.0130.00714.02
5.6.220.0140.00714.09
5.6.210.0130.00814.10
5.6.200.0140.00714.05
5.6.190.0130.00813.96
5.6.180.0130.00814.08
5.6.170.0100.01214.01
5.6.160.0100.01014.14
5.6.150.0140.00714.00
5.6.140.0120.00914.11
5.6.130.0140.00714.02
5.6.120.0130.00714.01
5.6.110.0140.00814.09
5.6.100.0130.00614.08
5.6.90.0140.00714.02
5.6.80.0120.00814.06
5.6.70.0120.00813.95
5.6.60.0110.00914.00
5.6.50.0130.00713.88
5.6.40.0120.00814.01
5.6.30.0130.00813.91
5.6.20.0120.00813.99
5.6.10.0170.00214.02
5.6.00.0120.00814.06
5.5.380.0080.00810.75
5.5.370.0110.00510.76
5.5.360.0100.00510.86
5.5.350.0100.00510.84
5.5.340.0100.00510.92
5.5.330.0090.00710.79
5.5.320.0100.00510.84
5.5.310.0100.00510.84
5.5.300.0110.00510.74
5.5.290.0130.00310.78
5.5.280.0070.00910.89
5.5.270.0120.00310.94
5.5.260.0090.00610.85
5.5.250.0090.00610.77
5.5.240.0100.00410.74
5.5.230.0080.00610.83
5.5.220.0080.00710.74
5.5.210.0080.00610.79
5.5.200.0090.00710.75
5.5.190.0100.00610.79
5.5.180.0110.00410.80
5.5.170.0110.01013.74
5.5.160.0120.00310.80
5.5.150.0100.00610.86
5.5.140.0080.00610.82
5.5.130.0100.00710.80
5.5.120.0110.00410.73
5.5.110.0070.00810.68
5.5.100.0090.00510.87
5.5.90.0110.00510.76
5.5.80.0100.00410.76
5.5.70.0120.00310.69
5.5.60.0090.00510.79
5.5.50.0100.00510.84
5.5.40.0090.00610.80
5.5.30.0100.00510.82
5.5.20.0070.00710.81
5.5.10.0100.00410.83
5.5.00.0110.00410.78
5.4.450.0110.00410.86
5.4.440.0090.00710.82
5.4.430.0090.00610.86
5.4.420.0110.00510.86
5.4.410.0100.00510.73
5.4.400.0090.00510.77
5.4.390.0100.00510.71
5.4.380.0080.00710.78
5.4.370.0100.00410.74
5.4.360.0090.00710.78
5.4.350.0090.00610.74
5.4.340.0080.00610.80
5.4.330.0100.00410.80
5.4.320.0110.00510.80
5.4.310.0100.00510.76
5.4.300.0110.00510.84
5.4.290.0080.00610.78
5.4.280.0080.00610.79
5.4.270.0110.00410.75
5.4.260.0090.00610.79
5.4.250.0100.00610.81
5.4.240.0080.00710.80
5.4.230.0090.00610.72
5.4.220.0080.00610.71
5.4.210.0110.00410.79
5.4.200.0080.00610.82
5.4.190.0090.00610.70
5.4.180.0100.00510.76
5.4.170.0090.00610.79
5.4.160.0100.00510.77
5.4.150.0080.00710.74
5.4.140.0070.00810.69
5.4.130.0090.00610.81
5.4.120.0120.00210.80
5.4.110.0100.00510.83
5.4.100.0110.00410.85
5.4.90.0060.00810.80
5.4.80.0110.00410.84
5.4.70.0090.00510.83
5.4.60.0100.00610.83
5.4.50.0080.00710.86
5.4.40.0100.00510.86
5.4.30.0080.00710.79
5.4.20.0070.00810.80
5.4.10.0100.00610.79
5.4.00.0080.00710.74
5.3.290.0090.00510.63
5.3.280.0090.00510.60
5.3.270.0100.00410.58
5.3.260.0080.00710.62
5.3.250.0080.00610.63
5.3.240.0090.00510.59
5.3.230.0060.00710.56
5.3.220.0110.00410.58
5.3.210.0070.00710.59
5.3.200.0070.00710.59
5.3.190.0110.00210.59
5.3.180.0070.00810.63
5.3.170.0100.00410.61
5.3.160.0080.00710.58
5.3.150.0090.00410.59
5.3.140.0100.00310.62
5.3.130.0110.00510.59
5.3.120.0080.00710.60
5.3.110.0060.00910.60
5.3.100.0090.00610.60
5.3.90.0050.00910.61
5.3.80.0090.00510.55
5.3.70.0090.00510.54
5.3.60.0110.00410.59
5.3.50.0090.00410.57
5.3.40.0080.00610.55
5.3.30.0100.00510.56
5.3.20.0090.00510.58
5.3.10.0100.00310.56
5.3.00.0100.00410.55
5.2.170.0090.00410.34
5.2.160.0100.00310.37
5.2.150.0070.00410.32
5.2.140.0090.00310.35
5.2.130.0050.00710.33
5.2.120.0080.00510.35
5.2.110.0090.00210.35
5.2.100.0060.00610.34
5.2.90.0070.00610.27
5.2.80.0060.00610.29
5.2.70.0100.00210.25
5.2.60.0070.00510.32
5.2.50.0070.00410.27
5.2.40.0090.00310.28
5.2.30.0050.00710.25
5.2.20.0070.00610.29
5.2.10.0070.00510.29
5.2.00.0070.00310.25
5.1.60.0070.00310.25
5.1.50.0070.00210.25
5.1.40.0050.00410.25
5.1.30.0100.00110.25
5.1.20.0070.00310.25
5.1.10.0060.00310.25
5.1.00.0060.00410.25
5.0.50.0050.00410.25
5.0.40.0060.00210.25
5.0.30.0080.00010.25
5.0.20.0040.00510.25
5.0.10.0050.00310.25
5.0.00.0050.00310.25
4.4.90.0060.00210.25
4.4.80.0040.00310.25
4.4.70.0030.00410.25
4.4.60.0010.00510.25
4.4.50.0040.00310.25
4.4.40.0060.00110.25
4.4.30.0030.00410.25
4.4.20.0050.00310.25
4.4.10.0000.00710.25
4.4.00.0020.00510.25
4.3.110.0010.00610.25
4.3.100.0060.00110.25
4.3.90.0030.00510.25
4.3.80.0000.00810.25
4.3.70.0040.00310.25
4.3.60.0050.00110.25
4.3.50.0060.00110.25
4.3.40.0040.00310.25
4.3.30.0020.00310.25
4.3.20.0030.00410.25
4.3.10.0030.00310.25
4.3.00.0040.00210.25