3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new \DateTime(); echo $date->format('c');
based on 3iKoA

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.80
7.2.00.0070.00719.44
7.1.200.0110.00315.50
7.1.100.0040.00817.96
7.1.70.0000.00817.27
7.1.60.0000.01017.16
7.1.50.0040.00716.37
7.1.00.0070.07322.46
7.0.200.0070.01016.86
7.0.140.0070.07322.09
7.0.120.0000.07722.23
7.0.110.0070.07321.99
7.0.100.0170.06322.04
7.0.90.0100.06722.10
7.0.80.0030.06022.18
7.0.70.0030.07322.18
7.0.60.0030.07322.10
7.0.50.0000.07722.06
7.0.40.0030.07322.11
7.0.30.0030.07322.07
7.0.20.0070.07022.06
7.0.10.0100.05321.97
7.0.00.0030.06022.07
5.6.280.0000.07721.06
5.6.260.0030.07320.96
5.6.250.0030.07321.07
5.6.240.0000.08020.80
5.6.230.0070.07021.07
5.6.220.0130.06320.72
5.6.210.0030.07020.94
5.6.200.0100.07021.08
5.6.190.0000.08020.80
5.6.180.0070.07021.08
5.6.170.0070.06020.93
5.6.160.0070.07021.05
5.6.150.0030.07320.92
5.6.140.0030.07721.00
5.6.130.0030.07021.05
5.6.120.0070.07020.92
5.6.110.0000.08020.99
5.6.100.0030.07020.91
5.6.90.0000.07721.06
5.6.80.0030.07020.18
5.6.70.0000.07320.37
5.6.60.0100.06720.37
5.6.50.0000.07020.17
5.6.40.0000.07320.27
5.6.30.0030.06320.35
5.6.20.0070.06020.09
5.6.10.0000.07320.09
5.6.00.0030.07020.34
5.5.380.0070.07017.55
5.5.370.0070.06717.55
5.5.360.0030.07317.53
5.5.350.0100.06317.64
5.5.340.0100.06718.01
5.5.330.0030.07018.13
5.5.320.0170.06018.01
5.5.310.0070.06718.16
5.5.300.0030.07317.86
5.5.290.0070.07318.13
5.5.280.0030.07318.13
5.5.270.0000.07717.85
5.5.260.0030.06018.08
5.5.250.0000.06717.54
5.5.240.0070.06717.15
5.5.230.0000.07317.38
5.5.220.0100.06017.23
5.5.210.0030.06717.47
5.5.200.0070.05717.21
5.5.190.0070.06717.21
5.5.180.0000.07717.20
5.5.160.0030.06717.21
5.5.150.0000.06317.21
5.5.140.0030.06717.44
5.5.130.0030.07017.59
5.5.120.0030.06717.50
5.5.110.0030.07017.43
5.5.100.0000.07317.12
5.5.90.0000.06017.15
5.5.80.0030.05717.30
5.5.70.0030.08317.10
5.5.60.0000.07017.26
5.5.50.0000.07017.36
5.5.40.0000.06717.50
5.5.30.0030.06017.36
5.5.20.0000.07317.32
5.5.10.0000.07317.39
5.5.00.0100.06317.33
5.4.450.0030.07019.29
5.4.440.0000.07719.50
5.4.430.0070.06319.25
5.4.420.0000.07319.43
5.4.410.0030.06719.46
5.4.400.0030.06719.10
5.4.390.0070.06019.26
5.4.380.0030.07019.28
5.4.370.0000.06719.12
5.4.360.0070.06719.07
5.4.350.0030.06719.11
5.4.340.0070.06719.18
5.4.320.0030.07019.04
5.4.310.0070.06318.94
5.4.300.0030.07018.97
5.4.290.0070.05319.11
5.4.280.0030.07019.10
5.4.270.0000.07019.12
5.4.260.0000.07019.26
5.4.250.0030.06719.02
5.4.240.0000.06718.92
5.4.230.0030.06719.26
5.4.220.0070.06719.03
5.4.210.0000.05019.16
5.4.200.0000.07019.15
5.4.190.0070.06719.10
5.4.180.0070.06319.01
5.4.170.0130.05718.88
5.4.160.0030.06719.24
5.4.150.0000.07318.91
5.4.140.0100.06316.26
5.4.130.0070.06016.53
5.4.120.0000.06716.52
5.4.110.0000.06016.32
5.4.100.0070.05716.25
5.4.90.0030.06316.53
5.4.80.0000.06016.22
5.4.70.0000.06316.39
5.4.60.0000.06716.41
5.4.50.0000.06716.49
5.4.40.0000.06016.43
5.4.30.0030.06316.44
5.4.20.0000.05716.24
5.4.10.0030.06716.25
5.4.00.0030.06015.66
5.3.290.0000.07314.59
5.3.280.0000.07014.50
5.3.270.0000.07014.56
5.3.260.0000.07014.51
5.3.250.0000.06714.50
5.3.240.0070.06314.50
5.3.230.0000.07014.66
5.3.220.0000.06314.50
5.3.210.0030.07014.54
5.3.200.0000.06714.50
5.3.190.0000.06714.50
5.3.180.0000.06714.50
5.3.170.0070.06314.61
5.3.160.0070.06314.50
5.3.150.0000.07014.57
5.3.140.0000.06714.54
5.3.130.0070.06714.50
5.3.120.0000.07314.50
5.3.110.0000.06314.55
5.3.100.0000.06014.50
5.3.90.0030.06314.50
5.3.80.0100.05714.50
5.3.70.0030.06714.50
5.3.60.0000.06314.50
5.3.50.0030.06314.50
5.3.40.0100.05714.50
5.3.30.0000.06314.50
5.3.20.0100.05714.50
5.3.10.0030.06014.50
5.3.00.0000.06714.50
5.2.170.0000.05714.50
5.2.160.0000.05714.50
5.2.150.0070.05314.50
5.2.140.0000.06014.50
5.2.130.0030.05314.50
5.2.120.0030.05314.50
5.2.110.0000.04714.50
5.2.100.0030.05314.50
5.2.90.0000.05314.50
5.2.80.0100.04314.50
5.2.70.0030.05314.50
5.2.60.0030.05314.50
5.2.50.0000.05714.50
5.2.40.0070.05014.50
5.2.30.0100.05014.50
5.2.20.0070.05014.50
5.2.10.0030.05014.50
5.2.00.0030.05314.50
5.1.60.0000.04714.50
5.1.50.0030.04714.50
5.1.40.0000.05014.50
5.1.30.0000.05014.50
5.1.20.0030.04714.50
5.1.10.0100.04014.50
5.1.00.0000.05014.50
5.0.50.0030.04014.50
5.0.40.0000.04014.50
5.0.30.0030.05314.50
5.0.20.0070.03314.50
5.0.10.0070.03314.50
5.0.00.0030.05314.50
4.4.90.0030.02714.50
4.4.80.0000.03014.50
4.4.70.0030.03014.50
4.4.60.0000.03014.50
4.4.50.0000.03014.50
4.4.40.0030.04714.50
4.4.30.0030.02714.50
4.4.20.0030.03014.50
4.4.10.0000.03014.50
4.4.00.0000.04314.50
4.3.110.0030.02314.50
4.3.100.0000.03014.50
4.3.90.0070.02314.50
4.3.80.0070.04014.50
4.3.70.0000.03014.50
4.3.60.0000.03014.50
4.3.50.0000.03014.50
4.3.40.0000.04014.50
4.3.30.0030.02714.50
4.3.20.0000.03314.50
4.3.10.0030.03014.50
4.3.00.0070.02314.50