3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $now = new DateTime(); echo $now->y;

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.0rc40.0170.00098.97
7.3.0rc30.0240.00716.70
7.3.0beta10.0100.00712.51
7.3.0alpha10.0190.00012.45
7.2.60.0030.01016.92
7.2.00.0030.01319.63
7.1.200.0020.00715.69
7.1.100.0030.01017.91
7.1.70.0000.01317.19
7.1.60.0090.01519.40
7.1.50.0060.00617.07
7.1.00.0000.06722.27
7.0.200.0000.00716.73
7.0.140.0000.07721.95
7.0.120.0030.03322.17
7.0.60.0070.08319.88
7.0.50.0100.08317.81
7.0.40.0000.04719.98
7.0.30.0300.06720.02
7.0.20.0300.07020.09
7.0.10.0030.09020.16
7.0.00.0030.04320.04
5.6.280.0000.07720.78
5.6.210.0070.05320.51
5.6.200.0070.07718.12
5.6.190.0130.07720.43
5.6.180.0570.06720.42
5.6.170.0230.03720.33
5.6.160.0070.07020.49
5.6.150.0030.04018.20
5.6.140.0070.05718.21
5.6.130.0000.04318.17
5.6.120.0070.06721.02
5.6.110.0000.07021.11
5.6.100.0100.07021.08
5.6.90.0070.08020.88
5.6.80.0000.04720.40
5.5.350.0070.04720.38
5.5.340.0070.04717.93
5.5.330.0070.04020.13
5.5.320.3270.04320.21
5.5.310.0270.07320.19
5.5.300.0070.08017.91
5.5.290.0070.05017.96
5.5.280.0170.07320.77
5.5.270.0130.08020.85
5.5.260.0030.09020.67
5.5.250.0100.08320.54
5.5.240.0070.02720.25
5.4.450.0170.04019.26
5.4.440.0300.05319.38
5.4.430.0170.03719.40
5.4.420.0300.06719.41
5.4.410.0170.05019.36
5.4.400.0200.05019.08
5.4.390.0170.07019.09
5.4.380.0200.04019.04
5.4.370.0200.03319.13
5.4.360.0130.04319.25
5.4.350.0270.04019.09
5.4.340.0130.04018.93
5.4.320.0270.04019.13
5.4.310.0230.03019.13
5.4.300.0230.04018.80
5.4.290.0230.03318.88
5.4.280.0170.03718.88
5.4.270.0130.05019.24
5.4.260.0100.04318.76
5.4.250.0270.04019.09
5.4.240.0170.04719.21
5.4.230.0230.03018.79
5.4.220.0170.03719.07
5.4.210.0170.03318.92
5.4.200.0200.07019.07
5.4.190.0100.04319.07
5.4.180.0270.07018.79
5.4.170.0130.04019.23
5.4.160.0200.03318.87
5.4.150.0130.04018.76
5.4.140.0130.03716.31
5.4.130.0130.05316.49
5.4.120.0170.03716.27
5.4.110.0270.03716.44
5.4.100.0270.03316.46
5.4.90.0170.07316.39
5.4.80.0230.05016.34
5.4.70.0200.04316.42
5.4.60.0270.06316.43
5.4.50.0200.06316.47
5.4.40.0200.04016.47
5.4.30.0200.03016.28
5.4.20.0230.02716.27
5.4.10.0230.03716.31
5.4.00.0170.05715.71
5.3.290.0130.04714.61
5.3.280.0170.05014.45
5.3.270.0200.06314.46
5.3.260.0170.08014.55
5.3.250.0170.04014.58
5.3.240.0270.07314.46
5.3.230.0170.08014.57
5.3.220.0300.03014.51
5.3.210.0200.07014.58
5.3.200.0130.04314.39
5.3.190.0170.08014.47
5.3.180.0200.04714.41
5.3.170.0070.04314.39
5.3.160.0130.03714.61
5.3.150.0270.06314.55
5.3.140.0230.06014.46
5.3.130.0330.03014.49
5.3.120.0200.05714.45
5.3.110.0200.04314.55
5.3.100.0270.06313.98
5.3.90.0270.03714.11
5.3.80.0170.07313.87
5.3.70.0170.07713.96
5.3.60.0230.05313.83
5.3.50.0500.05313.78
5.3.40.0070.03313.80
5.3.30.0000.04713.79
5.3.20.0030.03313.53
5.3.10.1230.03313.57
5.3.00.1600.02713.62
5.2.170.1200.02711.19
5.2.160.1270.03011.20
5.2.150.1270.03011.09
5.2.140.1370.03311.06
5.2.130.1270.03011.18
5.2.120.1570.03310.97
5.2.110.1430.03711.25
5.2.100.1500.04010.99
5.2.90.1370.03311.18
5.2.80.1330.03010.91
5.2.70.1230.02710.95
5.2.60.1270.02710.91
5.2.50.1470.02710.86
5.2.40.0930.02710.93
5.2.30.1130.03010.81
5.2.20.1100.02310.80
5.2.10.0870.03310.83
5.2.00.0970.02710.61
5.1.60.0900.02310.11
5.1.50.1030.0239.85
5.1.40.1000.02710.07
5.1.30.1030.02710.41
5.1.20.0970.03010.28
5.1.10.1070.02310.04
5.1.00.1070.0309.95
5.0.50.0300.0278.55
5.0.40.0570.0178.52
5.0.30.0470.0338.11
5.0.20.0500.0208.31
5.0.10.0530.0208.06
5.0.00.0500.0308.03
4.4.90.0470.0207.64
4.4.80.0500.0177.64
4.4.70.0430.0137.64
4.4.60.0570.0107.64
4.4.50.0570.0137.64
4.4.40.0600.0207.64
4.4.30.0570.0137.64
4.4.20.0430.0177.64
4.4.10.0530.0137.64
4.4.00.0430.0277.64
4.3.110.0470.0177.64
4.3.100.0530.0137.64
4.3.90.0500.0177.64
4.3.80.0470.0307.64
4.3.70.0500.0177.64
4.3.60.0530.0137.64
4.3.50.0530.0137.64
4.3.40.0700.0377.64
4.3.30.0270.0177.64
4.3.20.0300.0137.64
4.3.10.0300.0207.64
4.3.00.0270.0137.64