3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function a() { echo "a\n"; return true; } function b() { echo "b\n"; return false; } echo a() or b();
based on DBuKB

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.0070.00316.72
7.3.00.0080.00316.70
7.2.130.0060.00616.91
7.2.120.0030.00716.98
7.2.110.0000.01116.93
7.2.100.0000.01016.73
7.2.90.0080.00316.87
7.2.80.0070.00316.99
7.2.70.0050.00516.71
7.2.60.0070.00316.59
7.2.50.0070.00716.48
7.2.40.0070.00716.55
7.2.30.0080.00816.89
7.2.20.0080.00317.00
7.2.10.0060.00616.87
7.2.00.0040.00918.18
7.1.250.0060.00315.45
7.1.200.0170.00815.36
7.1.100.0040.01118.08
7.1.70.0000.00717.00
7.1.60.0110.01419.57
7.1.50.0060.00916.72
7.1.00.0030.07322.57
7.0.200.0000.00816.37
7.0.140.0030.05722.12
7.0.60.0300.07720.02
7.0.50.0030.06317.90
7.0.40.0030.05320.21
7.0.30.0300.04720.16
7.0.20.0230.07320.24
7.0.10.0100.08320.27
7.0.00.0100.08320.08
5.6.280.0100.06721.02
5.6.210.0030.07720.53
5.6.200.0100.04018.14
5.6.190.0030.06720.46
5.6.180.0500.05720.57
5.6.170.0170.04720.54
5.6.160.0100.06720.57
5.6.150.0000.05718.14
5.6.140.0070.05318.14
5.6.130.0030.06318.27
5.6.120.0000.04321.14
5.6.110.0100.08320.89
5.6.100.0100.07721.00
5.6.90.0070.08021.10
5.6.80.0100.07720.38
5.5.350.0070.03020.49
5.5.340.0130.07317.99
5.5.330.0070.05320.58
5.5.320.0070.06320.42
5.5.310.0330.08020.27
5.5.300.0070.08717.95
5.5.290.0100.06317.97
5.5.280.0000.04720.80
5.5.270.0100.08720.86
5.5.260.0070.05320.68
5.5.250.0030.08720.69
5.5.240.0170.04320.29
5.4.450.0830.05719.57
5.4.440.0470.05319.17
5.4.430.0070.05719.52
5.4.420.0070.06019.53
5.4.410.0070.05718.95
5.4.400.0130.06718.64
5.4.390.0130.05318.61
5.4.380.0070.05718.63
5.4.370.0100.05018.52
5.4.360.0170.04018.80
5.4.350.0000.05718.71
5.4.340.0070.07018.58
5.4.320.0130.05018.49
5.4.310.0030.06018.50
5.4.300.0070.05718.75
5.4.290.0070.05018.71
5.4.280.0170.04018.71
5.4.270.0070.05018.61
5.4.260.0030.05018.51
5.4.250.0070.05318.71
5.4.240.0000.06018.45
5.4.230.0030.05018.57
5.4.220.0100.05018.49
5.4.210.0070.05718.73
5.4.200.0100.04316.59
5.4.190.0000.05718.45
5.4.180.0030.05318.54
5.4.170.0030.06018.52
5.4.160.0030.05318.70
5.4.150.0100.04718.74
5.4.140.0170.03716.18
5.4.130.0100.04316.23
5.4.120.0000.05316.37
5.4.110.0030.04716.25
5.4.100.0030.05016.19
5.4.90.0030.05016.16
5.4.80.0070.04716.42
5.4.70.0070.04716.21
5.4.60.0070.04716.13
5.4.50.0100.04316.24
5.4.40.0030.05716.30
5.4.30.0070.04716.16
5.4.20.0130.06016.24
5.4.10.0070.06016.40
5.4.00.0100.04715.88
5.3.290.0070.05314.84
5.3.280.0130.04714.64
5.3.270.0000.05714.72
5.3.260.0000.05714.73
5.3.250.0030.05314.82
5.3.240.0100.05314.59
5.3.230.0100.05014.59
5.3.220.0100.04314.58
5.3.210.0170.04014.56
5.3.200.0100.04314.69
5.3.190.0000.05714.61
5.3.180.0030.05714.68
5.3.170.0000.05314.55
5.3.160.0030.05314.69
5.3.150.0000.05314.66
5.3.140.0070.04714.54
5.3.130.0030.05314.67
5.3.120.0000.05714.60
5.3.110.0070.06014.73
5.3.100.0070.05014.16
5.3.90.0030.05314.23
5.3.80.0030.05014.01
5.3.70.0000.05314.00
5.3.60.0030.05314.07
5.3.50.0100.06714.01
5.3.40.0030.05014.00
5.3.30.0000.06013.88
5.3.20.0100.04313.82
5.3.10.0170.03713.86
5.3.00.0070.04713.69
5.2.170.0030.05011.21
5.2.160.0070.04011.16
5.2.150.0100.04011.18
5.2.140.0030.04011.18
5.2.130.0070.03711.20
5.2.120.0070.03711.13
5.2.110.0070.03711.20
5.2.100.0000.04311.20
5.2.90.0000.04311.17
5.2.80.0070.03711.19
5.2.70.0000.04311.09
5.2.60.0030.04011.17
5.2.50.0000.04311.07
5.2.40.0070.03711.03
5.2.30.0000.04311.18
5.2.20.0070.03710.97
5.2.10.0070.03710.96
5.2.00.0030.04010.89
5.1.60.0030.03310.03
5.1.50.0070.03010.02
5.1.40.0070.03310.00
5.1.30.0030.04010.40
5.1.20.0130.03010.45
5.1.10.0070.03310.10
5.1.00.0030.03310.12
5.0.50.0000.0308.58
5.0.40.0070.0238.50
5.0.30.0030.0438.21
5.0.20.0070.0238.38
5.0.10.0030.0278.36
5.0.00.0000.0438.20
4.4.90.0000.0235.91
4.4.80.0030.0205.91
4.4.70.0030.0205.89
4.4.60.0030.0205.97
4.4.50.0030.0205.93
4.4.40.0000.0375.89
4.4.30.0000.0235.87
4.4.20.0030.0205.97
4.4.10.0030.0205.98
4.4.00.0000.0375.98
4.3.110.0030.0205.95
4.3.100.0030.0235.86
4.3.90.0030.0205.84
4.3.80.0030.0335.77
4.3.70.0000.0235.80
4.3.60.0030.0205.80
4.3.50.0030.0205.79
4.3.40.0030.0305.87
4.3.30.0000.0234.68
4.3.20.0000.0274.55
4.3.10.0030.0204.54
4.3.00.0100.0236.68