3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo json_encode([]);

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.00.0450.00614.33
7.2.130.1170.00514.66
7.2.120.0630.00914.41
7.2.110.0910.01014.36
7.2.100.1010.00514.51
7.2.90.1400.00714.44
7.2.80.1260.00914.60
7.2.70.1190.01014.78
7.2.60.0920.00714.76
7.2.50.0930.00714.73
7.2.40.0800.00714.69
7.2.30.0870.00714.70
7.2.20.0630.00614.83
7.2.10.0770.00714.75
7.2.00.1100.01014.78
7.1.250.1170.00713.69
7.1.240.0760.00913.37
7.1.230.0710.00413.28
7.1.220.1300.00513.51
7.1.210.1320.00613.56
7.1.200.1410.00513.58
7.1.190.0930.00513.52
7.1.180.1510.00613.55
7.1.170.0930.00513.60
7.1.160.0670.00513.51
7.1.150.0740.00813.61
7.1.140.1030.00713.54
7.1.130.0950.00513.46
7.1.120.1060.00413.50
7.1.110.1260.00713.62
7.1.100.1030.00713.45
7.1.90.0810.00913.56
7.1.80.0910.00713.55
7.1.70.0810.00713.65
7.1.60.0770.00822.63
7.1.50.1020.00922.62
7.1.40.1890.00922.57
7.1.30.0820.00722.58
7.1.20.0950.00722.50
7.1.10.0750.00813.51
7.1.00.0750.00613.51
7.0.330.0660.00513.43
7.0.320.0650.01013.19
7.0.310.1410.00613.28
7.0.300.1420.00913.22
7.0.290.1030.00813.27
7.0.280.1420.00913.40
7.0.270.1110.00713.27
7.0.260.1090.00913.27
7.0.250.1040.00713.30
7.0.240.1110.00813.37
7.0.230.0840.00613.40
7.0.220.0940.01013.33
7.0.210.0780.00513.23
7.0.200.0850.00913.20
7.0.190.0690.00613.24
7.0.180.0830.00913.30
7.0.170.0800.00613.30
7.0.160.0930.00513.26
7.0.150.0750.00713.40
7.0.140.0740.00813.33
7.0.130.0530.00713.43
7.0.120.0670.00613.43
7.0.110.0690.00713.26
7.0.100.0770.00613.18
7.0.90.0650.01013.20
7.0.80.0650.00513.31
7.0.70.0720.00913.24
7.0.60.0700.00813.25
7.0.50.0630.00613.38
7.0.40.0520.00613.22
7.0.30.0610.00713.27
7.0.20.0590.00713.42
7.0.10.0690.00813.35
7.0.00.0590.00813.45
hhvm-3.22.00.1280.18190.31
hhvm-3.21.30.1090.17089.72
hhvm-3.21.00.1080.17889.47
hhvm-3.20.20.1000.17889.72
hhvm-3.19.20.0950.17688.89
hhvm-3.18.50.1000.17587.70
hhvm-3.18.40.1050.16687.78
hhvm-3.17.30.0990.16386.71
hhvm-3.15.40.0910.16784.57
hhvm-3.13.20.1120.16395.98
hhvm-3.12.140.1140.15794.59
hhvm-3.11.10.1080.15586.99
hhvm-3.10.10.1040.17883.94
5.6.380.0060.01014.17
5.6.370.0160.00514.19
5.6.360.0140.00614.09
5.6.350.0100.01114.13
5.6.340.0140.00714.30
5.6.330.0120.00814.06
5.6.320.0070.01214.21
5.6.310.0150.00414.21
5.6.300.0130.00713.99
5.6.290.0110.00814.16
5.6.280.0110.00814.11
5.6.270.0120.00714.14
5.6.260.0080.00914.21
5.6.250.0130.00614.05
5.6.240.0090.01114.16
5.6.230.0110.00914.16
5.6.220.0120.00814.14
5.6.210.0110.00714.08
5.6.200.0150.00413.97
5.6.190.0120.00614.04
5.6.180.0110.00814.05
5.6.170.0130.00614.11
5.6.160.0110.00713.98
5.6.150.0110.00914.08
5.6.140.0110.00914.14
5.6.130.0140.00514.22
5.6.120.0140.00614.17
5.6.110.0110.00714.15
5.6.100.0090.00914.07
5.6.90.0120.00814.07
5.6.80.0140.00614.00
5.6.70.0120.00714.08
5.6.60.0120.00714.05
5.6.50.0080.01014.00
5.6.40.0100.00714.06
5.6.30.0120.00614.01
5.6.20.0120.00714.12
5.6.10.0120.00714.06
5.6.00.0120.00714.11
5.5.380.0100.00510.83
5.5.370.0110.00511.07
5.5.360.0090.00610.91
5.5.350.0070.00810.96
5.5.340.0090.00410.92
5.5.330.0090.00410.82
5.5.320.0060.00810.87
5.5.310.0080.00710.95
5.5.300.0100.00510.98
5.5.290.0080.00810.96
5.5.280.0110.00410.94
5.5.270.0070.00610.82
5.5.260.0090.00510.93
5.5.250.0060.00810.83
5.5.240.0090.00410.90
5.5.230.0080.00610.90
5.5.220.0090.00510.94
5.5.210.0050.00810.82
5.5.200.0060.00610.96
5.5.190.0100.00410.86
5.5.180.0080.00510.84
5.5.170.0120.00713.94
5.5.160.0060.00710.83
5.5.150.0040.00910.82
5.5.140.0080.00610.91
5.5.130.0060.00610.86
5.5.120.0080.00510.87
5.5.110.0090.00410.90
5.5.100.0050.00810.98
5.5.90.0100.00410.97
5.5.80.0100.00310.80
5.5.70.0060.00610.77
5.5.60.0080.00510.77
5.5.50.0100.00410.87
5.5.40.0080.00510.73
5.5.30.0080.00610.79
5.5.20.0070.00610.83
5.5.10.0110.00310.87
5.5.00.0070.00610.84
5.4.450.0100.00310.82
5.4.440.0090.00410.84
5.4.430.0070.00710.86
5.4.420.0090.00610.80
5.4.410.0090.00410.94
5.4.400.0090.00510.74
5.4.390.0090.00510.79
5.4.380.0070.00810.76
5.4.370.0090.00410.84
5.4.360.0080.00510.76
5.4.350.0060.00710.77
5.4.340.0070.00610.73
5.4.330.0070.00710.83
5.4.320.0100.00410.76
5.4.310.0090.00410.81
5.4.300.0060.00710.73
5.4.290.0070.00710.76
5.4.280.0080.00510.77
5.4.270.0100.00510.76
5.4.260.0090.00510.73
5.4.250.0110.00310.76
5.4.240.0070.00610.84
5.4.230.0070.00610.75
5.4.220.0080.00410.81
5.4.210.0090.00410.76
5.4.200.0100.00410.81
5.4.190.0100.00310.76
5.4.180.0080.00510.75
5.4.170.0060.00710.78
5.4.160.0080.00610.74
5.4.150.0070.00710.79
5.4.140.0070.00610.75
5.4.130.0060.00810.80
5.4.120.0060.00710.75
5.4.110.0080.00510.77
5.4.100.0080.00510.75
5.4.90.0070.00610.78
5.4.80.0060.00610.84
5.4.70.0100.00410.88
5.4.60.0100.00510.78
5.4.50.0100.00410.83
5.4.40.0120.00310.90
5.4.30.0060.00810.84
5.4.20.0080.00510.85
5.4.10.0050.00710.88
5.4.00.0090.00510.83
5.3.290.0070.00610.58
5.3.280.0090.00410.48
5.3.270.0100.00410.56
5.3.260.0080.00510.54
5.3.250.0110.00310.49
5.3.240.0100.00410.48
5.3.230.0070.00510.50
5.3.220.0070.00510.52
5.3.210.0140.00310.52
5.3.200.0100.00410.52
5.3.190.0060.00710.54
5.3.180.0100.00310.61
5.3.170.0100.00410.53
5.3.160.0090.00410.59
5.3.150.0070.00610.58
5.3.140.0080.00610.57
5.3.130.0100.00410.58
5.3.120.0070.00610.54
5.3.110.0060.00710.52
5.3.100.0080.00510.56
5.3.90.0090.00510.56
5.3.80.0080.00510.53
5.3.70.0090.00410.55
5.3.60.0090.00410.54
5.3.50.0110.00210.51
5.3.40.0100.00410.54
5.3.30.0070.00610.53
5.3.20.0080.00510.53
5.3.10.0070.00610.46
5.3.00.0060.00610.45
5.2.170.0080.0039.85
5.2.160.0070.0049.95
5.2.150.0070.0049.94
5.2.140.0060.0049.91
5.2.130.0080.0049.91
5.2.120.0060.0059.94
5.2.110.0050.0059.92
5.2.100.0060.0049.92
5.2.90.0100.0029.89
5.2.80.0080.0039.81
5.2.70.0030.0089.92
5.2.60.0080.0039.89
5.2.50.0060.0059.92
5.2.40.0090.0039.86
5.2.30.0090.0029.90
5.2.20.0090.0019.87
5.2.10.0090.0029.81
5.2.00.0040.0069.79
5.1.60.0070.0039.79
5.1.50.0080.0019.79
5.1.40.0050.0039.79
5.1.30.0080.0039.79
5.1.20.0040.0059.79
5.1.10.0080.0019.79
5.1.00.0060.0049.79
5.0.50.0040.0049.79
5.0.40.0050.0029.79
5.0.30.0070.0019.79
5.0.20.0030.0059.79
5.0.10.0040.0039.79
5.0.00.0050.0029.79
4.4.90.0050.0039.79
4.4.80.0000.0079.79
4.4.70.0050.0029.79
4.4.60.0050.0019.79
4.4.50.0030.0039.79
4.4.40.0020.0059.79
4.4.30.0040.0029.79
4.4.20.0050.0039.79
4.4.10.0050.0019.79
4.4.00.0030.0039.79
4.3.110.0040.0039.79
4.3.100.0020.0059.79
4.3.90.0040.0049.79
4.3.80.0010.0059.79
4.3.70.0020.0049.79
4.3.60.0050.0029.79
4.3.50.0050.0029.79
4.3.40.0030.0039.79
4.3.30.0020.0049.79
4.3.20.0030.0039.79
4.3.10.0010.0049.79
4.3.00.0020.0049.79