3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php phpinfo();

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.30.0100.00814.50
7.3.20.0670.00714.63
7.3.10.0570.00914.73
7.3.00.0580.00614.70
7.2.160.0080.00814.52
7.2.150.0610.00614.71
7.2.140.0540.00814.74
7.2.130.0560.00614.82
7.2.120.0580.00714.79
7.2.110.0740.00714.68
7.2.100.0720.00814.69
7.2.90.0590.00814.70
7.2.80.0690.00714.71
7.2.70.0610.00714.77
7.2.60.0750.00814.80
7.2.50.0720.00814.84
7.2.40.0630.00814.87
7.2.30.0580.00714.82
7.2.20.0570.00714.81
7.2.10.0530.00814.85
7.2.00.0510.00914.75
7.1.270.0710.00813.55
7.1.260.0670.00213.43
7.1.250.0520.00513.78
7.1.240.0560.00713.83
7.1.230.0620.00713.75
7.1.220.0650.00613.77
7.1.210.0710.00713.77
7.1.200.0730.00713.75
7.1.190.0640.00813.76
7.1.180.0670.00813.70
7.1.170.0670.00713.75
7.1.160.0660.00613.76
7.1.150.0620.00613.78
7.1.140.0570.00613.79
7.1.130.0600.00713.76
7.1.120.0590.00713.77
7.1.110.0580.00713.77
7.1.100.0690.00713.74
7.1.90.0540.00813.76
7.1.80.0520.00813.79
7.1.70.0580.00813.76
7.1.60.0520.00818.86
7.1.50.0610.00818.89
7.1.40.0490.00818.78
7.1.30.0520.00818.87
7.1.20.0530.00918.82
7.1.10.0450.00713.75
7.1.00.0460.00813.75
7.0.330.0600.00713.41
7.0.320.0510.00713.46
7.0.310.0700.00713.43
7.0.300.0700.00713.39
7.0.290.0640.00613.41
7.0.280.0540.00813.40
7.0.270.0580.00813.38
7.0.260.0650.00713.41
7.0.250.0610.00813.43
7.0.240.0630.00713.49
7.0.230.0640.00713.49
7.0.220.0590.00713.46
7.0.210.0600.00813.42
7.0.200.0580.00713.46
7.0.190.0460.00713.50
7.0.180.0510.00813.44
7.0.170.0490.00813.49
7.0.160.0550.00713.44
7.0.150.0470.00613.44
7.0.140.0460.00813.44
7.0.130.0510.00613.43
7.0.120.0480.00813.45
7.0.110.0480.00613.43
7.0.100.0450.00713.43
7.0.90.0500.00813.39
7.0.80.0630.00713.38
7.0.70.0490.00813.40
7.0.60.0510.00813.43
7.0.50.0510.00713.52
7.0.40.0470.00713.55
7.0.30.0490.00713.53
7.0.20.0480.00713.48
7.0.10.0550.00613.54
7.0.00.0460.00713.46
hhvm-3.22.00.1420.17790.65
hhvm-3.21.30.1120.17789.83
hhvm-3.21.00.1250.17889.76
hhvm-3.20.20.1120.18290.02
hhvm-3.19.20.1160.18589.34
hhvm-3.18.50.1090.17688.11
hhvm-3.18.40.1140.18188.09
hhvm-3.17.30.1070.15986.98
hhvm-3.15.40.1010.15384.61
hhvm-3.13.20.1210.16995.84
hhvm-3.12.140.1180.16994.62
hhvm-3.11.10.1110.16987.51
hhvm-3.10.10.1120.16583.88
5.6.400.0150.01013.99
5.6.390.0160.01114.06
5.6.380.0090.00814.03
5.6.370.0120.00814.08
5.6.360.0130.00914.04
5.6.350.0120.00914.07
5.6.340.0130.00814.04
5.6.330.0140.00814.10
5.6.320.0140.00814.08
5.6.310.0130.00814.08
5.6.300.0130.00814.05
5.6.290.0130.00914.02
5.6.280.0120.00814.08
5.6.270.0120.00914.05
5.6.260.0120.00814.08
5.6.250.0130.00914.04
5.6.240.0120.00914.04
5.6.230.0130.00914.02
5.6.220.0120.00814.01
5.6.210.0120.00814.01
5.6.200.0140.00714.02
5.6.190.0120.00914.05
5.6.180.0130.00914.07
5.6.170.0140.00814.04
5.6.160.0130.00714.05
5.6.150.0130.00713.99
5.6.140.0130.00914.06
5.6.130.0130.00814.01
5.6.120.0120.00814.03
5.6.110.0150.00614.01
5.6.100.0120.00814.04
5.6.90.0130.00714.04
5.6.80.0120.00813.94
5.6.70.0130.00813.96
5.6.60.0120.00813.99
5.6.50.0120.00813.96
5.6.40.0140.00713.98
5.6.30.0120.00913.98
5.6.20.0130.00813.96
5.6.10.0120.00913.94
5.6.00.0110.01013.95
5.5.380.0100.00611.06
5.5.370.0100.00611.08
5.5.360.0100.00611.00
5.5.350.0100.00611.04
5.5.340.0090.00611.05
5.5.330.0110.00611.02
5.5.320.0100.00511.00
5.5.310.0110.00511.05
5.5.300.0100.00611.07
5.5.290.0100.00611.04
5.5.280.0100.00611.04
5.5.270.0100.00610.99
5.5.260.0100.00511.03
5.5.250.0090.00610.99
5.5.240.0100.00510.96
5.5.230.0110.00510.95
5.5.220.0100.00610.97
5.5.210.0090.00710.93
5.5.200.0100.00610.97
5.5.190.0110.00510.99
5.5.180.0090.00611.00
5.5.170.0110.00712.53
5.5.160.0100.00610.99
5.5.150.0090.00610.97
5.5.140.0110.00510.99
5.5.130.0110.00510.96
5.5.120.0090.00610.97
5.5.110.0100.00611.00
5.5.100.0090.00710.96
5.5.90.0090.00710.95
5.5.80.0090.00610.99
5.5.70.0100.00610.92
5.5.60.0100.00510.96
5.5.50.0100.00510.96
5.5.40.0090.00610.95
5.5.30.0090.00610.96
5.5.20.0090.00611.01
5.5.10.0090.00610.93
5.5.00.0100.00610.91
5.4.450.0090.00610.75
5.4.440.0110.00510.73
5.4.430.0100.00510.74
5.4.420.0100.00610.71
5.4.410.0090.00610.75
5.4.400.0100.00610.65
5.4.390.0090.00610.65
5.4.380.0090.00610.69
5.4.370.0090.00610.68
5.4.360.0100.00510.73
5.4.350.0090.00610.69
5.4.340.0090.00610.70
5.4.330.0090.00510.69
5.4.320.0090.00510.68
5.4.310.0110.00510.71
5.4.300.0100.00510.64
5.4.290.0100.00510.70
5.4.280.0080.00710.66
5.4.270.0100.00510.70
5.4.260.0100.00510.69
5.4.250.0090.00610.67
5.4.240.0090.00510.71
5.4.230.0080.00610.66
5.4.220.0090.00510.67
5.4.210.0100.00410.65
5.4.200.0090.00510.64
5.4.190.0090.00510.67
5.4.180.0090.00510.64
5.4.170.0080.00610.68
5.4.160.0100.00510.63
5.4.150.0100.00510.63
5.4.140.0090.00610.70
5.4.130.0100.00510.74
5.4.120.0090.00510.70
5.4.110.0100.00410.71
5.4.100.0090.00610.69
5.4.90.0080.00710.72
5.4.80.0080.00610.71
5.4.70.0100.00510.71
5.4.60.0100.00410.71
5.4.50.0090.00610.70
5.4.40.0080.00710.68
5.4.30.0100.00510.69
5.4.20.0090.00510.67
5.4.10.0090.00610.70
5.4.00.0090.00610.71
5.3.290.0090.00510.38
5.3.280.0090.00510.27
5.3.270.0090.00510.34
5.3.260.0090.00510.33
5.3.250.0090.00410.31
5.3.240.0090.00510.17
5.3.230.0090.00610.27
5.3.220.0090.00410.28
5.3.210.0080.00410.28
5.3.200.0090.00510.27
5.3.190.0070.00610.32
5.3.180.0080.00510.44
5.3.170.0090.00510.42
5.3.160.0080.00610.43
5.3.150.0080.00610.44
5.3.140.0090.00510.38
5.3.130.0100.00510.37
5.3.120.0080.00510.38
5.3.110.0090.00510.36
5.3.100.0090.00410.31
5.3.90.0090.00510.30
5.3.80.0080.00510.20
5.3.70.0080.00610.19
5.3.60.0080.00510.31
5.3.50.0100.00410.21
5.3.40.0090.00510.23
5.3.30.0080.00510.21
5.3.20.0090.00410.22
5.3.10.0080.00510.09
5.3.00.0080.00510.04
5.2.170.0050.0059.85
5.2.160.0060.0059.84
5.2.150.0080.0039.84
5.2.140.0070.0049.81
5.2.130.0070.0039.81
5.2.120.0070.0049.80
5.2.110.0070.0049.77
5.2.100.0080.0029.78
5.2.90.0080.0039.76
5.2.80.0050.0069.76
5.2.70.0060.0059.77
5.2.60.0060.0059.72
5.2.50.0050.0069.78
5.2.40.0060.0059.80
5.2.30.0070.0049.80
5.2.20.0070.0049.71
5.2.10.0070.0049.68
5.2.00.0070.0039.68
5.1.60.0070.0029.57
5.1.50.0060.0039.57
5.1.40.0050.0049.57
5.1.30.0050.0059.58
5.1.20.0050.0049.58
5.1.10.0050.0049.57
5.1.00.0050.0039.58
5.0.50.0050.0039.56
5.0.40.0050.0029.56
5.0.30.0030.0049.56
5.0.20.0050.0039.56
5.0.10.0040.0049.56
5.0.00.0050.0039.56
4.4.90.0040.0039.56
4.4.80.0030.0059.56
4.4.70.0040.0039.56
4.4.60.0030.0039.56
4.4.50.0030.0049.56
4.4.40.0040.0039.56
4.4.30.0040.0029.56
4.4.20.0040.0039.56
4.4.10.0030.0049.56
4.4.00.0040.0029.56
4.3.110.0040.0039.56
4.3.100.0040.0029.56
4.3.90.0040.0039.56
4.3.80.0040.0039.56
4.3.70.0030.0039.56
4.3.60.0050.0029.56
4.3.50.0040.0029.56
4.3.40.0060.0019.56
4.3.30.0030.0039.56
4.3.20.0030.0039.56
4.3.10.0020.0039.56
4.3.00.0040.0029.56