3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((0.7 + 0.1) === 0.8);

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.10.1130.00714.73
7.3.00.1010.00714.62
7.2.130.0970.00614.79
7.2.120.0920.00714.83
7.2.110.0780.00514.80
7.2.100.0910.00814.79
7.2.90.0850.00714.82
7.2.80.0830.00814.84
7.2.70.0860.00714.82
7.2.60.0850.00814.81
7.2.50.0800.00714.84
7.2.40.0800.00814.84
7.2.30.0810.00614.88
7.2.20.0860.00714.86
7.2.10.1000.00814.79
7.2.00.0970.00614.86
7.1.250.0940.00713.74
7.1.240.0510.00613.77
7.1.230.0540.00913.70
7.1.220.0560.00613.67
7.1.210.0430.00813.71
7.1.200.0490.00613.78
7.1.190.0490.00813.72
7.1.180.0470.00613.70
7.1.170.0480.00813.69
7.1.160.0610.00513.69
7.1.150.0430.00713.73
7.1.140.0500.00613.72
7.1.130.0470.00513.82
7.1.120.0450.00813.77
7.1.110.0630.00713.84
7.1.100.0480.00913.67
7.1.90.0470.00913.64
7.1.80.0500.00713.78
7.1.70.0420.00813.72
7.1.60.0560.00713.69
7.1.50.0430.00613.74
7.1.40.0500.00513.70
7.1.30.0450.00813.71
7.1.20.0580.00613.76
7.1.10.0540.00713.62
7.1.00.0560.00713.81
7.0.330.0470.00913.32
7.0.320.0570.00713.29
7.0.310.0580.00913.36
7.0.300.0470.00813.26
7.0.290.0490.01013.45
7.0.280.0530.00613.43
7.0.270.0460.00813.26
7.0.260.0590.00613.27
7.0.250.0520.00513.42
7.0.240.0460.00713.43
7.0.230.0450.00813.40
7.0.220.0430.00913.33
7.0.210.0510.00813.46
7.0.200.0520.00513.34
7.0.190.0410.00713.43
7.0.180.0510.00613.47
7.0.170.0530.00513.40
7.0.160.0610.00513.38
7.0.150.0880.00713.33
7.0.140.0500.00713.32
7.0.130.0500.00813.34
7.0.120.0490.00713.48
7.0.110.0510.00813.33
7.0.100.0460.00713.30
7.0.90.0470.01013.24
7.0.80.0580.00813.20
7.0.70.0610.00413.33
7.0.60.0430.00913.38
7.0.50.0430.00713.47
7.0.40.0430.00513.37
7.0.30.0470.00713.33
7.0.20.0450.00813.42
7.0.10.0410.00613.41
7.0.00.0530.00913.32
hhvm-3.22.00.1160.17690.23
hhvm-3.21.30.1070.16489.89
hhvm-3.21.00.1150.16889.90
hhvm-3.20.20.1070.16490.23
hhvm-3.19.20.1010.16589.42
hhvm-3.18.50.1020.16688.27
hhvm-3.18.40.0930.16988.29
hhvm-3.17.30.0990.13887.00
hhvm-3.15.40.0860.13484.73
hhvm-3.13.20.1180.16296.21
hhvm-3.12.140.1050.15694.90
hhvm-3.11.10.1020.16387.39
hhvm-3.10.10.1190.14884.25
5.6.380.0120.00714.19
5.6.370.0160.00614.18
5.6.360.0130.00914.21
5.6.350.0130.01014.16
5.6.340.0120.01014.09
5.6.330.0130.01014.07
5.6.320.0130.00914.21
5.6.310.0140.00714.23
5.6.300.0100.01114.30
5.6.290.0150.00914.19
5.6.280.0150.00814.10
5.6.270.0140.00614.16
5.6.260.0130.01014.16
5.6.250.0180.00814.31
5.6.240.0130.00814.20
5.6.230.0140.00714.20
5.6.220.0160.00914.15
5.6.210.0150.00614.15
5.6.200.0120.01114.21
5.6.190.0140.00814.11
5.6.180.0100.00814.07
5.6.170.0130.00914.20
5.6.160.0170.00714.20
5.6.150.0130.00814.16
5.6.140.0150.00914.17
5.6.130.0130.01114.30
5.6.120.0090.01114.15
5.6.110.0150.00814.30
5.6.100.0130.00814.23
5.6.90.0130.00614.19
5.6.80.0140.00913.99
5.6.70.0110.01014.04
5.6.60.0110.00914.05
5.6.50.0140.00714.09
5.6.40.0140.00714.15
5.6.30.0110.01114.06
5.6.20.0110.00814.01
5.6.10.0120.01014.09
5.6.00.0140.01114.04
5.5.380.0070.00610.90
5.5.370.0110.00510.95
5.5.360.0110.00610.88
5.5.350.0100.00710.77
5.5.340.0110.00410.82
5.5.330.0090.00710.92
5.5.320.0090.00610.94
5.5.310.0090.00910.82
5.5.300.0100.00610.93
5.5.290.0110.00810.93
5.5.280.0120.00510.79
5.5.270.0120.00510.70
5.5.260.0100.00510.88
5.5.250.0110.00710.77
5.5.240.0120.00410.87
5.5.230.0080.00710.80
5.5.220.0120.00410.89
5.5.210.0100.00710.86
5.5.200.0090.00510.78
5.5.190.0080.00710.86
5.5.180.0080.00510.82
5.5.170.0120.00510.75
5.5.160.0100.00710.83
5.5.150.0090.00810.73
5.5.140.0110.00810.84
5.5.130.0110.00510.74
5.5.120.0090.00810.76
5.5.110.0060.00910.75
5.5.100.0110.00510.81
5.5.90.0090.00710.80
5.5.80.0100.00510.77
5.5.70.0110.00510.86
5.5.60.0110.00610.76
5.5.50.0100.00610.73
5.5.40.0080.00610.69
5.5.30.0090.00610.66
5.5.20.0110.00310.68
5.5.10.0090.00610.92
5.5.00.0090.00710.88
5.4.450.0090.00810.70
5.4.440.0090.00810.83
5.4.430.0090.00510.88
5.4.420.0090.00410.74
5.4.410.0090.00710.71
5.4.400.0080.00710.75
5.4.390.0090.00610.76
5.4.380.0100.00410.77
5.4.370.0100.00710.74
5.4.360.0110.00410.75
5.4.350.0090.00710.65
5.4.340.0110.00610.72
5.4.330.0110.00310.76
5.4.320.0110.00510.72
5.4.310.0110.00610.66
5.4.300.0100.00510.67
5.4.290.0060.00810.70
5.4.280.0100.00510.79
5.4.270.0100.00510.72
5.4.260.0080.00810.77
5.4.250.0090.00510.77
5.4.240.0110.00410.77
5.4.230.0110.00410.69
5.4.220.0080.00710.62
5.4.210.0100.00510.77
5.4.200.0090.00610.73
5.4.190.0100.00410.73
5.4.180.0100.00610.83
5.4.170.0110.00310.68
5.4.160.0090.00510.78
5.4.150.0060.00810.78
5.4.140.0100.00510.87
5.4.130.0100.00410.83
5.4.120.0100.00610.75
5.4.110.0090.00610.83
5.4.100.0090.00610.77
5.4.90.0080.00510.68
5.4.80.0130.00410.77
5.4.70.0070.00810.73
5.4.60.0140.00410.78
5.4.50.0100.00410.80
5.4.40.0080.00610.75
5.4.30.0110.00710.71
5.4.20.0100.00510.75
5.4.10.0100.00610.78
5.4.00.0100.00610.67
5.3.290.0100.00410.43
5.3.280.0070.00810.27
5.3.270.0090.00510.23
5.3.260.0080.00510.35
5.3.250.0090.00410.30
5.3.240.0080.00710.18
5.3.230.0070.00710.23
5.3.220.0110.00310.08
5.3.210.0100.00410.08
5.3.200.0100.00610.12
5.3.190.0110.00510.15
5.3.180.0110.00310.34
5.3.170.0080.00610.29
5.3.160.0070.00910.33
5.3.150.0060.00710.30
5.3.140.0100.00510.30
5.3.130.0090.00510.26
5.3.120.0110.00610.28
5.3.110.0080.00610.22
5.3.100.0110.00310.13
5.3.90.0070.00610.21
5.3.80.0100.00610.12
5.3.70.0090.00310.11
5.3.60.0080.00410.27
5.3.50.0070.00710.12
5.3.40.0060.00710.18
5.3.30.0080.00710.18
5.3.20.0090.00410.17
5.3.10.0090.00510.00
5.3.00.0090.0069.99
5.2.170.0080.0049.36
5.2.160.0060.0059.36
5.2.150.0070.0049.25
5.2.140.0060.0059.29
5.2.130.0060.0069.24
5.2.120.0060.0069.33
5.2.110.0060.0049.26
5.2.100.0100.0019.30
5.2.90.0080.0059.18
5.2.80.0110.0029.09
5.2.70.0100.0029.11
5.2.60.0070.0069.05
5.2.50.0070.0049.16
5.2.40.0080.0059.18
5.2.30.0080.0049.13
5.2.20.0070.0059.05
5.2.10.0090.0049.03
5.2.00.0060.0049.00
5.1.60.0060.0038.99
5.1.50.0060.0068.99
5.1.40.0070.0038.99
5.1.30.0090.0048.99
5.1.20.0060.0058.99
5.1.10.0070.0048.99
5.1.00.0070.0038.99
5.0.50.0070.0038.99
5.0.40.0070.0028.99
5.0.30.0070.0028.99
5.0.20.0080.0028.99
5.0.10.0060.0028.99
5.0.00.0060.0038.99
4.4.90.0050.0028.99
4.4.80.0040.0058.99
4.4.70.0030.0058.99
4.4.60.0030.0058.99
4.4.50.0040.0048.99
4.4.40.0050.0038.99
4.4.30.0060.0048.99
4.4.20.0040.0038.99
4.4.10.0030.0058.99
4.4.00.0040.0048.99
4.3.110.0030.0048.99
4.3.100.0040.0048.99
4.3.90.0020.0058.99
4.3.80.0050.0048.99
4.3.70.0040.0038.99
4.3.60.0060.0028.99
4.3.50.0050.0038.99
4.3.40.0060.0028.99
4.3.30.0040.0038.99
4.3.20.0030.0038.99
4.3.10.0040.0048.99
4.3.00.0050.0038.99