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.40.0100.00814.62
7.3.30.0080.00814.53
7.3.20.0640.00715.18
7.3.10.0500.00715.10
7.3.00.0640.00715.03
7.2.170.0090.00914.74
7.2.160.0080.00914.63
7.2.150.0570.00715.31
7.2.140.0580.00915.34
7.2.130.0640.00715.20
7.2.120.0600.00715.07
7.2.110.0630.00814.95
7.2.100.0690.00814.92
7.2.90.0680.00814.94
7.2.80.0680.00714.95
7.2.70.0710.00715.06
7.2.60.0720.00715.05
7.2.50.0720.00715.05
7.2.40.0600.00715.04
7.2.30.0540.00815.04
7.2.20.0590.00815.04
7.2.10.0550.00715.03
7.2.00.0580.00715.06
7.1.280.0140.00714.91
7.1.270.0550.00714.38
7.1.260.0390.00614.42
7.1.250.0720.00614.16
7.1.240.0540.00714.10
7.1.230.0620.00714.02
7.1.220.0700.00713.99
7.1.210.0770.00714.02
7.1.200.0710.00814.01
7.1.190.0720.00814.01
7.1.180.0750.00813.97
7.1.170.0700.00713.99
7.1.160.0560.00713.96
7.1.150.0580.00813.97
7.1.140.0570.00714.00
7.1.130.0590.00713.98
7.1.120.0610.00713.98
7.1.110.0650.00714.00
7.1.100.0640.00714.00
7.1.90.0540.00714.02
7.1.80.0540.00814.01
7.1.70.0530.00814.01
7.1.60.0530.00817.96
7.1.50.0510.00817.95
7.1.40.0500.00817.83
7.1.30.0490.00817.91
7.1.20.0510.00817.89
7.1.10.0430.00813.91
7.1.00.0520.00813.92
7.0.330.0690.00813.77
7.0.320.0630.00713.70
7.0.310.0750.00613.66
7.0.300.0700.00813.64
7.0.290.0720.00713.66
7.0.280.0630.00713.61
7.0.270.0640.00713.63
7.0.260.0600.00713.62
7.0.250.0660.00713.69
7.0.240.0570.00813.71
7.0.230.0580.00813.71
7.0.220.0560.00713.69
7.0.210.0500.00813.68
7.0.200.0520.00813.67
7.0.190.0530.00813.66
7.0.180.0510.00813.66
7.0.170.0540.00813.68
7.0.160.0480.00713.67
7.0.150.0440.00813.65
7.0.140.0450.00713.67
7.0.130.0490.00813.62
7.0.120.0520.00813.64
7.0.110.0470.00813.62
7.0.100.0470.00713.63
7.0.90.0450.00713.61
7.0.80.0440.00813.61
7.0.70.0410.00813.62
7.0.60.0430.00813.61
7.0.50.0430.00713.69
7.0.40.0460.00713.64
7.0.30.0440.00813.64
7.0.20.0430.00713.64
7.0.10.0420.00813.63
7.0.00.0430.00813.62
hhvm-3.22.00.1320.17990.69
hhvm-3.21.30.1110.17189.59
hhvm-3.21.00.1170.17689.52
hhvm-3.20.20.1160.17489.71
hhvm-3.19.20.1170.18089.00
hhvm-3.18.50.1060.17487.77
hhvm-3.18.40.1150.17587.69
hhvm-3.17.30.1050.15886.69
hhvm-3.15.40.1020.15384.32
hhvm-3.13.20.1190.16595.64
hhvm-3.12.140.1200.16394.39
hhvm-3.11.10.1150.16187.17
hhvm-3.10.10.1070.15483.65
5.6.400.0120.00914.03
5.6.390.0120.00814.05
5.6.380.0100.00913.98
5.6.370.0130.00914.05
5.6.360.0140.00814.05
5.6.350.0130.00814.06
5.6.340.0130.00814.05
5.6.330.0130.00814.01
5.6.320.0130.00814.04
5.6.310.0130.00814.08
5.6.300.0140.00814.04
5.6.290.0130.00914.06
5.6.280.0130.00814.04
5.6.270.0120.00914.04
5.6.260.0130.00914.04
5.6.250.0130.00814.06
5.6.240.0130.00814.01
5.6.230.0130.00914.06
5.6.220.0120.00814.03
5.6.210.0120.00914.02
5.6.200.0120.00914.02
5.6.190.0130.00814.02
5.6.180.0130.00814.00
5.6.170.0130.00813.98
5.6.160.0130.00813.99
5.6.150.0120.00813.98
5.6.140.0130.00814.02
5.6.130.0130.00814.03
5.6.120.0130.00814.02
5.6.110.0130.00814.01
5.6.100.0120.00914.00
5.6.90.0120.00814.02
5.6.80.0110.00913.94
5.6.70.0110.00913.94
5.6.60.0110.00913.94
5.6.50.0120.00813.93
5.6.40.0130.00813.94
5.6.30.0120.00713.96
5.6.20.0130.00813.95
5.6.10.0130.00813.96
5.6.00.0130.00813.93
5.5.380.0110.00711.77
5.5.370.0110.00711.77
5.5.360.0110.00711.78
5.5.350.0100.00711.79
5.5.340.0100.00711.77
5.5.330.0100.00711.75
5.5.320.0110.00611.78
5.5.310.0110.00611.80
5.5.300.0110.00711.78
5.5.290.0110.00611.77
5.5.280.0100.00711.77
5.5.270.0110.00611.78
5.5.260.0110.00611.75
5.5.250.0100.00611.70
5.5.240.0100.00611.73
5.5.230.0100.00611.71
5.5.220.0100.00611.72
5.5.210.0110.00611.73
5.5.200.0100.00711.73
5.5.190.0100.00611.73
5.5.180.0100.00611.73
5.5.170.0110.00812.95
5.5.160.0100.00711.74
5.5.150.0110.00611.71
5.5.140.0100.00611.72
5.5.130.0100.00611.72
5.5.120.0090.00711.75
5.5.110.0100.00611.72
5.5.100.0100.00611.72
5.5.90.0100.00711.72
5.5.80.0100.00611.71
5.5.70.0100.00611.69
5.5.60.0110.00611.72
5.5.50.0100.00611.72
5.5.40.0100.00711.71
5.5.30.0090.00611.70
5.5.20.0100.00611.71
5.5.10.0100.00711.71
5.5.00.0100.00711.68
5.4.450.0090.00510.82
5.4.440.0090.00610.82
5.4.430.0090.00510.81
5.4.420.0090.00610.85
5.4.410.0090.00610.83
5.4.400.0090.00510.79
5.4.390.0090.00610.80
5.4.380.0080.00610.80
5.4.370.0100.00510.77
5.4.360.0090.00610.77
5.4.350.0090.00610.77
5.4.340.0090.00510.79
5.4.330.0090.00610.79
5.4.320.0090.00510.77
5.4.310.0100.00510.78
5.4.300.0090.00610.77
5.4.290.0090.00510.79
5.4.280.0090.00510.79
5.4.270.0100.00510.77
5.4.260.0090.00610.79
5.4.250.0090.00510.75
5.4.240.0090.00510.78
5.4.230.0090.00610.75
5.4.220.0090.00610.78
5.4.210.0100.00510.76
5.4.200.0090.00610.79
5.4.190.0090.00510.77
5.4.180.0090.00610.78
5.4.170.0090.00510.77
5.4.160.0090.00510.75
5.4.150.0090.00610.74
5.4.140.0090.00610.79
5.4.130.0090.00510.80
5.4.120.0090.00610.79
5.4.110.0090.00610.78
5.4.100.0090.00510.78
5.4.90.0090.00510.79
5.4.80.0090.00610.80
5.4.70.0090.00510.79
5.4.60.0090.00510.80
5.4.50.0090.00510.76
5.4.40.0090.00610.78
5.4.30.0090.00610.79
5.4.20.0090.00610.79
5.4.10.0090.00510.80
5.4.00.0080.00610.78
5.3.290.0090.00610.53
5.3.280.0090.00610.44
5.3.270.0090.00510.47
5.3.260.0090.00510.47
5.3.250.0090.00510.48
5.3.240.0090.00510.38
5.3.230.0080.00510.44
5.3.220.0090.00510.43
5.3.210.0090.00610.43
5.3.200.0090.00510.44
5.3.190.0090.00510.47
5.3.180.0090.00510.57
5.3.170.0090.00510.57
5.3.160.0100.00510.57
5.3.150.0090.00510.58
5.3.140.0090.00610.53
5.3.130.0090.00510.52
5.3.120.0090.00610.53
5.3.110.0090.00510.53
5.3.100.0090.00510.47
5.3.90.0080.00510.48
5.3.80.0080.00510.37
5.3.70.0080.00610.36
5.3.60.0090.00510.47
5.3.50.0080.00610.40
5.3.40.0090.00510.41
5.3.30.0080.00510.40
5.3.20.0080.00510.39
5.3.10.0080.00610.29
5.3.00.0090.00510.24
5.2.170.0070.00510.13
5.2.160.0060.00510.15
5.2.150.0060.00510.12
5.2.140.0070.00410.13
5.2.130.0060.00510.08
5.2.120.0060.00510.09
5.2.110.0070.00410.10
5.2.100.0070.00410.10
5.2.90.0080.00310.08
5.2.80.0060.00510.08
5.2.70.0060.00510.09
5.2.60.0060.00510.04
5.2.50.0060.00510.09
5.2.40.0070.00510.11
5.2.30.0070.00510.07
5.2.20.0070.00410.05
5.2.10.0070.00310.02
5.2.00.0070.00410.01
5.1.60.0060.0049.94
5.1.50.0070.0029.94
5.1.40.0060.0049.94
5.1.30.0060.0049.95
5.1.20.0050.0059.94
5.1.10.0060.0049.95
5.1.00.0060.0039.93
5.0.50.0050.0049.90
5.0.40.0040.0049.89
5.0.30.0050.0039.89
5.0.20.0050.0039.90
5.0.10.0050.0039.89
5.0.00.0050.0039.89
4.4.90.0030.0049.87
4.4.80.0040.0039.87
4.4.70.0030.0039.87
4.4.60.0030.0039.87
4.4.50.0040.0039.87
4.4.40.0040.0039.87
4.4.30.0040.0039.87
4.4.20.0030.0049.87
4.4.10.0040.0039.87
4.4.00.0040.0039.87
4.3.110.0030.0039.87
4.3.100.0030.0049.87
4.3.90.0040.0049.87
4.3.80.0040.0039.87
4.3.70.0030.0039.87
4.3.60.0040.0039.87
4.3.50.0030.0039.87
4.3.40.0040.0039.87
4.3.30.0030.0039.87
4.3.20.0020.0049.87
4.3.10.0030.0039.87
4.3.00.0030.0049.87