3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new \DateTimeZone("Europe/Rome"); $b = new \DateTimeZone("Europe/Athens"); if($a == $b) echo "Test";
based on DDU1E

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.2.60.0040.01116.70
7.2.00.0110.00719.51
7.1.200.0090.00315.78
7.1.100.0090.00318.36
7.1.70.0030.00317.24
7.1.60.0070.01017.16
7.1.50.0160.01635.10
7.1.00.0100.07022.44
7.0.200.0030.01016.93
7.0.140.0030.03722.07
7.0.70.2970.03719.88
7.0.60.0100.08019.93
7.0.50.0070.04717.91
7.0.40.0030.04720.11
7.0.30.0170.04020.01
7.0.20.0230.05320.16
7.0.10.0230.04720.16
7.0.00.0030.04720.09
5.6.280.0100.06720.82
5.6.210.0030.05720.49
5.6.200.0000.04318.09
5.6.190.0130.04020.73
5.6.180.0270.04020.46
5.6.170.0430.07320.65
5.6.160.0070.08720.52
5.6.150.0030.08718.12
5.6.140.0030.06318.11
5.6.130.0100.08318.16
5.6.120.0030.09020.99
5.6.110.0070.07721.11
5.6.100.0130.07721.02
5.6.90.0000.04721.00
5.6.80.0070.03720.52
5.6.70.0330.06720.38
5.5.350.0100.08320.41
5.5.340.0070.04017.92
5.5.330.0030.04320.21
5.5.320.0070.04320.29
5.5.310.0230.08020.50
5.5.300.0100.06317.91
5.5.290.0070.03717.91
5.5.280.0030.06020.73
5.5.270.0100.06720.78
5.5.260.0030.05320.92
5.5.250.0070.07020.68
5.5.240.0170.05720.35
5.4.450.0700.05019.48
5.4.440.0900.05019.64
5.4.430.0630.06319.41
5.4.420.0730.05719.61
5.4.410.0630.06719.45
5.4.400.0200.05018.51
5.4.390.0230.04718.49
5.4.380.0100.07018.46
5.4.370.0230.06018.62
5.4.360.0070.05718.56
5.4.350.0170.05718.72
5.4.340.0170.05318.80
5.4.320.0100.06318.55
5.4.310.0130.05318.46
5.4.300.0200.05318.64
5.4.290.0070.05718.56
5.4.280.0130.05018.55
5.4.270.0170.05018.55
5.4.260.0170.05318.66
5.4.250.0200.05718.48
5.4.240.0100.05718.52
5.4.230.0070.05718.72
5.4.220.0070.06018.68
5.4.210.0070.06018.55
5.4.200.0170.04716.65
5.4.190.0070.06018.54
5.4.180.0230.04318.70
5.4.170.0100.05718.59
5.4.160.0230.04318.66
5.4.150.0230.04318.48
5.4.140.0170.05016.45
5.4.130.0330.05016.30
5.4.120.0200.04316.31
5.4.110.0130.05016.09
5.4.100.0070.05716.30
5.4.90.0200.04316.09
5.4.80.0270.03316.02
5.4.70.0170.04716.16
5.4.60.0100.05716.32
5.4.50.0130.05016.00
5.4.40.0170.04716.16
5.4.30.0230.04016.18
5.4.20.0170.05016.03
5.4.10.0230.05016.18
5.4.00.0130.05015.81
5.3.290.0130.06014.73
5.3.280.0230.04314.76
5.3.270.0170.05014.59
5.3.260.0170.05314.51
5.3.250.0100.05714.61
5.3.240.0200.04714.70
5.3.230.0130.05314.47
5.3.220.0100.05314.51
5.3.210.0200.04714.52
5.3.200.0170.04714.59
5.3.190.0170.05014.55
5.3.180.0130.05014.63
5.3.170.0070.05714.52
5.3.160.0030.06014.54
5.3.150.0200.04714.54
5.3.140.0170.04714.55
5.3.130.0130.05314.52
5.3.120.0170.05014.47
5.3.110.0070.06014.57
5.3.100.0130.05014.02
5.3.90.0200.04313.95
5.3.80.0130.05314.05
5.3.70.0170.05314.00
5.3.60.0070.05714.15
5.3.50.0130.05013.92
5.3.40.0130.05313.86
5.3.30.0400.02313.99
5.3.20.0100.05313.61
5.3.10.0100.05013.60
5.3.00.0270.04013.54
5.2.170.0170.03711.19
5.2.160.0130.03711.28
5.2.150.0100.04311.32
5.2.140.0130.04311.17
5.2.130.0130.04311.26
5.2.120.0070.04011.11
5.2.110.0170.03311.24
5.2.100.0130.03711.06
5.2.90.0130.03711.05
5.2.80.0170.03711.17
5.2.70.0100.04711.15
5.2.60.0070.04710.98
5.2.50.0130.04310.97
5.2.40.0100.04010.95
5.2.30.0130.03711.02
5.2.20.0100.04011.02
5.2.10.0070.04710.84
5.2.00.0130.03710.72
5.1.60.0100.03310.13
5.1.50.0100.0339.99
5.1.40.0030.04010.01
5.1.30.0070.04010.30
5.1.20.0130.03310.46
5.1.10.0130.03310.09
5.1.00.0130.03010.10
5.0.50.0100.0278.56
5.0.40.0030.0338.43
5.0.30.0100.0408.27
5.0.20.0070.0278.28
5.0.10.0030.0308.18
5.0.00.0100.0408.18
4.4.90.0000.0275.90
4.4.80.0100.0175.82
4.4.70.0070.0205.91
4.4.60.0030.0235.88
4.4.50.0070.0205.93
4.4.40.0030.0375.91
4.4.30.0100.0175.89
4.4.20.0100.0175.91
4.4.10.0170.0105.97
4.4.00.0070.0375.95
4.3.110.0100.0205.83
4.3.100.0030.0235.78
4.3.90.0070.0205.84
4.3.80.0070.0335.80
4.3.70.0100.0235.91
4.3.60.0030.0235.77
4.3.50.0070.0205.79
4.3.40.0070.0375.84
4.3.30.0070.0204.68
4.3.20.0000.0274.58
4.3.10.0030.0204.49
4.3.00.0130.0176.91